OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 01-Jul-2003 15:34:13
Branch: HEAD Handle: 2003070114341201
Modified files:
openpkg-src/gcc32 gcc32.spec
openpkg-web news.txt
Log:
finally fix the build flags handling
Summary:
Revision Changes Path
1.3 +9 -10 openpkg-src/gcc32/gcc32.spec
1.5121 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc32/gcc32.spec
============================================================================
$ cvs diff -u -r1.2 -r1.3 gcc32.spec
--- openpkg-src/gcc32/gcc32.spec 30 Jun 2003 09:15:48 -0000 1.2
+++ openpkg-src/gcc32/gcc32.spec 1 Jul 2003 13:34:13 -0000 1.3
@@ -38,7 +38,7 @@
Group: Language
License: GPL
Version: %{V_full}
-Release: 20030630
+Release: 20030701
# package options
%option with_cxx yes
@@ -135,30 +135,29 @@
`find . -name Makefile -type f -print`
# determine build flags
- l_cflags=""
l_boot_cflags=""
+ l_cflags=""
l_libcflags="-g"
l_libcxxflags="-g"
%if "%{with_binutils}" == "yes"
# at least GNU as from GNU binutils supports -pipe always
- l_boot_cflags="$l_boot_cflags"
- l_libcflags="$l_libcflags"
- l_libcxxflags="$l_libcxxflags"
+ l_cflags="$l_cflags -pipe"
+ l_libcflags="$l_libcflags -pipe"
+ l_libcxxflags="$l_libcxxflags -pipe"
%endif
%if "%{with_optimize}" == "yes"
# conservatively optimize the generated program code
# (also _tune_ for particular CPUs, but _without_ requiring these CPUs!)
- l_cflags="$l_cflags -O"
- l_boot_cflags="$l_boot_cflags -O2 -fomit-frame-pointer -funroll-loops"
+ l_cflags="$l_cflags -O2 -fomit-frame-pointer -funroll-loops"
case "%{l_target}" in
- *x86-* ) l_boot_cflags="$l_boot_cflags -mcpu=pentium3" ;;
- *sparc64-* ) l_boot_cflags="$l_boot_cflags -mtune=v9" ;;
+ *x86-* ) l_cflags="$l_cflags -mcpu=pentium3" ;;
+ *sparc64-* ) l_cflags="$l_cflags -mtune=v9" ;;
esac
l_libcflags="$l_libcflags -O"
l_libcxxflags="$l_libcxxflags -O -fno-implicit-templates"
%else
# else do no optimizations at all to reduce problems to minimum in advance
- l_boot_cflags="$l_boot_cflags -O0"
+ l_cflags="$l_cflags -O0"
l_libcflags="$l_libcflags -O0"
l_libcxxflags="$l_libcxxflags -O0"
%endif
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5120 -r1.5121 news.txt
--- openpkg-web/news.txt 1 Jul 2003 13:30:21 -0000 1.5120
+++ openpkg-web/news.txt 1 Jul 2003 13:34:12 -0000 1.5121
@@ -1,3 +1,4 @@
+01-Jul-2003: Upgraded package: P<gcc32-3.2.3-20030701>
01-Jul-2003: Upgraded package: P<gcc-3.3-20030701>
01-Jul-2003: Upgraded package: P<gcc33-3.3.1s20030630-20030701>
01-Jul-2003: Upgraded package: P<ircd-2.10.3p3-20030701>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]