OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   19-Sep-2005 17:49:19
  Branch: HEAD                             Handle: 2005091916491900

  Modified files:
    openpkg-src/gcc40       gcc40.spec

  Log:
    reactivate with_optimize option by removing problematic -funroll-loops
    optimization flag

  Summary:
    Revision    Changes     Path
    1.41        +3  -5      openpkg-src/gcc40/gcc40.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gcc40/gcc40.spec
  ============================================================================
  $ cvs diff -u -r1.40 -r1.41 gcc40.spec
  --- openpkg-src/gcc40/gcc40.spec      17 Sep 2005 18:12:33 -0000      1.40
  +++ openpkg-src/gcc40/gcc40.spec      19 Sep 2005 15:49:19 -0000      1.41
  @@ -22,8 +22,6 @@
   ##  SUCH DAMAGE.
   ##
   
  -#   FIXME: rse: with_optimize=yes still broken
  -
   #   package version
   %define       V_full         4.0.1
   %define       V_comp         401
  @@ -39,14 +37,14 @@
   Group:        Compiler
   License:      GPL
   Version:      %{V_full}
  -Release:      20050917
  +Release:      20050919
   
   #   package options
   %option       with_cxx       yes
   %option       with_objc      no
   %option       with_java      no
   %option       with_fortran   no
  -%option       with_optimize  no
  +%option       with_optimize  yes
   %option       with_profile   no
   %option       with_binutils  yes
   %option       with_threads   yes
  @@ -194,7 +192,7 @@
       #   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_boot_cflags="$l_boot_cflags -O2 -fomit-frame-pointer"
       case "%{l_platform -t}" in
           *i?86-*  ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
           *sun4u-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to