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 openpkg$ Date:   10-Mar-2003 20:48:54
  Branch: HEAD                             Handle: 2003031019484904

  Modified files:
    openpkg-re/vcheck       vc.gcc33
    openpkg-src/gcc33       gcc33.spec
    openpkg-web             news.txt

  Log:
    upgrade to latest snapshot and merge in flag stuff from gcc package

  Summary:
    Revision    Changes     Path
    1.16        +1  -1      openpkg-re/vcheck/vc.gcc33
    1.20        +28 -12     openpkg-src/gcc33/gcc33.spec
    1.3644      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.gcc33
  ============================================================================
  $ cvs diff -u -r1.15 -r1.16 vc.gcc33
  --- openpkg-re/vcheck/vc.gcc33        4 Mar 2003 14:25:46 -0000       1.15
  +++ openpkg-re/vcheck/vc.gcc33        10 Mar 2003 19:48:49 -0000      1.16
  @@ -2,7 +2,7 @@
   }
   
   prog gcc33 = {
  -  version   = 20030303
  +  version   = 20030310
     url       = ftp://gcc.gnu.org/pub/gcc/snapshots/
     regex     = (\d+-\d+-\d+)
     url       = ftp://gcc.gnu.org/pub/gcc/snapshots/__NEWVER__/
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc33/gcc33.spec
  ============================================================================
  $ cvs diff -u -r1.19 -r1.20 gcc33.spec
  --- openpkg-src/gcc33/gcc33.spec      4 Mar 2003 14:25:48 -0000       1.19
  +++ openpkg-src/gcc33/gcc33.spec      10 Mar 2003 19:48:53 -0000      1.20
  @@ -26,8 +26,8 @@
   #   package versions
   %define       V_major_dot    3.3
   %define       V_major_comp   33
  -%define       V_snap_dash    2003-03-03
  -%define       V_snap_comp    20030303
  +%define       V_snap_dash    2003-03-10
  +%define       V_snap_comp    20030310
   
   #   package information
   Name:         gcc33
  @@ -39,7 +39,7 @@
   Group:        Language
   License:      GPL
   Version:      %{V_major_dot}s%{V_snap_comp}
  -Release:      20030304
  +Release:      20030310
   
   #   package options
   %option       with_cxx       yes
  @@ -126,17 +126,33 @@
           -e "s;/gcc-lib/;/gcc%{V_major_comp}-lib/;" \
           `find . -name Makefile -type f -print`
   
  -    #   determine build parameters
  +    #   determine build flags
  +    l_cflags=""
  +    l_boot_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 -pipe"
  +    l_libcflags="$l_libcflags -pipe"
  +    l_libcxxflags="$l_libcxxflags -pipe"
  +%endif
   %if "%{with_optimize}" == "yes"
  -    l_boot_cflags="-O2"
  -    l_cflags="-O"
  -    l_libcflags="-g -O2"
  -    l_libcxxflags="-g -O2 -fno-implicit-templates"
  +    #   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"
  +    case "%{l_target}" in
  +        *x86-*     ) l_boot_cflags="$l_boot_cflags -mcpu=pentium3" ;;
  +        *sparc64-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"      ;;
  +    esac
  +    l_libcflags="$l_libcflags -O2"
  +    l_libcxxflags="$l_libcxxflags -O2 -fno-implicit-templates"
   %else
  -    l_boot_cflags="-O0"
  -    l_cflags=""
  -    l_libcflags="-g -O0"
  -    l_libcxxflags="-g -O0"
  +    #   else do no optimizations at all to reduce problems to minimum in advance
  +    l_boot_cflags="$l_boot_cflags -O0"
  +    l_libcflags="$l_libcflags -O0"
  +    l_libcxxflags="$l_libcxxflags -O0"
   %endif
   
       #   build the package
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.3643 -r1.3644 news.txt
  --- openpkg-web/news.txt      10 Mar 2003 19:09:09 -0000      1.3643
  +++ openpkg-web/news.txt      10 Mar 2003 19:48:50 -0000      1.3644
  @@ -1,3 +1,4 @@
  +10-Mar-2003: Upgraded package: P<gcc33-3.3s20030310-20030310>
   10-Mar-2003: Upgraded package: P<xterm-1.75-20030310>
   10-Mar-2003: Upgraded package: P<vim-6.1.386-20030310>
   10-Mar-2003: Upgraded package: P<cpu-1.3.99a-20030310>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to