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:30:23
  Branch: HEAD                             Handle: 2003070114302102

  Modified files:
    openpkg-src/gcc         gcc.patch gcc.spec
    openpkg-web             news.txt

  Log:
    finally fix the build flags handling

  Summary:
    Revision    Changes     Path
    1.9         +1  -1      openpkg-src/gcc/gcc.patch
    1.56        +11 -12     openpkg-src/gcc/gcc.spec
    1.5120      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc/gcc.patch
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 gcc.patch
  --- openpkg-src/gcc/gcc.patch 14 Jun 2003 18:47:46 -0000      1.8
  +++ openpkg-src/gcc/gcc.patch 1 Jul 2003 13:30:23 -0000       1.9
  @@ -25,7 +25,7 @@
        conftest2.o conftest3.o; then
        gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
   -                     | grep -A1 myfoosect`
  -+                     | sed -ne '/myfoosect/{N;p}'`
  ++                     | sed -ne '/myfoosect/{N;p;}'`
        if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
          if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
        gcc_cv_ld_ro_rw_mix=read-only
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc/gcc.spec
  ============================================================================
  $ cvs diff -u -r1.55 -r1.56 gcc.spec
  --- openpkg-src/gcc/gcc.spec  25 Jun 2003 07:59:35 -0000      1.55
  +++ openpkg-src/gcc/gcc.spec  1 Jul 2003 13:30:23 -0000       1.56
  @@ -38,7 +38,7 @@
   Group:        Language
   License:      GPL
   Version:      %{V_full}
  -Release:      20030625
  +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"
  +    l_libcflags="$l_libcflags -O2"
  +    l_libcxxflags="$l_libcxxflags -O2 -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.5119 -r1.5120 news.txt
  --- openpkg-web/news.txt      1 Jul 2003 13:28:49 -0000       1.5119
  +++ openpkg-web/news.txt      1 Jul 2003 13:30:21 -0000       1.5120
  @@ -1,3 +1,4 @@
  +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>
   01-Jul-2003: Upgraded package: P<monit-3.2-20030701>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to