Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-simulation/openttd/files: openttd-1.3.2-cflags.patch
Date: Mon, 26 Aug 2013 23:10:40
Message-Id: 20130826231030.6F1A220034@flycatcher.gentoo.org
1 mr_bones_ 13/08/26 23:10:30
2
3 Added: openttd-1.3.2-cflags.patch
4 Log:
5 version bump (bug #481036)
6
7 (Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 games-simulation/openttd/files/openttd-1.3.2-cflags.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/openttd/files/openttd-1.3.2-cflags.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/openttd/files/openttd-1.3.2-cflags.patch?rev=1.1&content-type=text/plain
14
15 Index: openttd-1.3.2-cflags.patch
16 ===================================================================
17 --- config.lib.orig 2013-04-01 10:56:04.199921234 -0400
18 +++ config.lib 2013-04-01 10:57:21.878371374 -0400
19 @@ -1426,26 +1426,16 @@
20 CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
21 LDFLAGS="$LDFLAGS -noixemul"
22 fi
23 -
24 - CFLAGS="-O2 -fomit-frame-pointer $CFLAGS"
25 else
26 OBJS_SUBDIR="debug"
27
28 # Each debug level reduces the optimization by a bit
29 if [ $enable_debug -ge 1 ]; then
30 - CFLAGS="$CFLAGS -g -D_DEBUG"
31 + CFLAGS="-D_DEBUG $CFLAGS"
32 if [ "$os" = "PSP" ]; then
33 CFLAGS="$CFLAGS -G0"
34 fi
35 fi
36 - if [ $enable_debug -ge 2 ]; then
37 - CFLAGS="$CFLAGS -fno-inline"
38 - fi
39 - if [ $enable_debug -ge 3 ]; then
40 - CFLAGS="$CFLAGS -O0"
41 - else
42 - CFLAGS="$CFLAGS -O2"
43 - fi
44 fi
45
46 if [ $enable_debug -le 2 ]; then
47 @@ -1466,11 +1456,6 @@
48 CFLAGS="$CFLAGS -fno-expensive-optimizations"
49 fi
50
51 - if [ "$enable_profiling" != "0" ]; then
52 - CFLAGS="$CFLAGS -p"
53 - LDFLAGS="$LDFLAGS -pg"
54 - fi
55 -
56 if [ "$with_threads" = "0" ]; then
57 CFLAGS="$CFLAGS -DNO_THREADS"
58 fi