mr_bones_    14/09/04 08:06:53

  Added:                openttd-1.4.2-cflags.patch
  Log:
  version bump (bug #508238)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  games-simulation/openttd/files/openttd-1.4.2-cflags.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/openttd/files/openttd-1.4.2-cflags.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/openttd/files/openttd-1.4.2-cflags.patch?rev=1.1&content-type=text/plain

Index: openttd-1.4.2-cflags.patch
===================================================================
--- config.lib.orig     2014-09-03 23:16:49.535086210 -0400
+++ config.lib  2014-09-03 23:18:12.922857589 -0400
@@ -1450,7 +1450,6 @@
                        LDFLAGS="$LDFLAGS -noixemul"
                fi
 
-               CFLAGS="-O2 -fomit-frame-pointer $CFLAGS"
        else
                OBJS_SUBDIR="debug"
 
@@ -1461,14 +1460,6 @@
                                CFLAGS="$CFLAGS -G0"
                        fi
                fi
-               if [ $enable_debug -ge 2 ]; then
-                       CFLAGS="$CFLAGS -fno-inline"
-               fi
-               if [ $enable_debug -ge 3 ]; then
-                       CFLAGS="$CFLAGS -O0"
-               else
-                       CFLAGS="$CFLAGS -O2"
-               fi
        fi
 
        if [ $enable_debug -le 2 ]; then
@@ -1493,11 +1484,6 @@
                CFLAGS="$CFLAGS -fno-expensive-optimizations"
        fi
 
-       if [ "$enable_profiling" != "0" ]; then
-               CFLAGS="$CFLAGS -p"
-               LDFLAGS="$LDFLAGS -pg"
-       fi
-
        if [ "$with_threads" = "0" ]; then
                CFLAGS="$CFLAGS -DNO_THREADS"
        fi




Reply via email to