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