summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-04-01 19:28:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-04-01 19:28:06 +0000
commit3b1fafebba1b3b55746fb168be0d290ff4c5bc4c (patch)
tree19793358df50e7e87ae023c4396e02cc1fd82af7 /games-simulation/openttd/files
parentfixed changes in depende projectx install from projectx_nogui to projectx_cli... (diff)
downloadgentoo-2-3b1fafebba1b3b55746fb168be0d290ff4c5bc4c.tar.gz
gentoo-2-3b1fafebba1b3b55746fb168be0d290ff4c5bc4c.tar.bz2
gentoo-2-3b1fafebba1b3b55746fb168be0d290ff4c5bc4c.zip
version bump
(Portage version: 2.1.11.55/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-simulation/openttd/files')
-rw-r--r--games-simulation/openttd/files/openttd-1.3.0-cflags.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/games-simulation/openttd/files/openttd-1.3.0-cflags.patch b/games-simulation/openttd/files/openttd-1.3.0-cflags.patch
new file mode 100644
index 000000000000..135ae6e08f59
--- /dev/null
+++ b/games-simulation/openttd/files/openttd-1.3.0-cflags.patch
@@ -0,0 +1,42 @@
+--- config.lib.orig 2013-04-01 10:56:04.199921234 -0400
++++ config.lib 2013-04-01 10:57:21.878371374 -0400
+@@ -1426,26 +1426,16 @@
+ CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
+ LDFLAGS="$LDFLAGS -noixemul"
+ fi
+-
+- CFLAGS="-O2 -fomit-frame-pointer $CFLAGS"
+ else
+ OBJS_SUBDIR="debug"
+
+ # Each debug level reduces the optimization by a bit
+ if [ $enable_debug -ge 1 ]; then
+- CFLAGS="$CFLAGS -g -D_DEBUG"
++ CFLAGS="-D_DEBUG $CFLAGS"
+ if [ "$os" = "PSP" ]; then
+ 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
+@@ -1466,11 +1456,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