public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-simulation/openttd/files: openttd-1.3.2-cflags.patch
@ 2013-08-26 23:10 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; only message in thread
From: Michael Sterrett (mr_bones_) @ 2013-08-26 23:10 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    13/08/26 23:10:30

  Added:                openttd-1.3.2-cflags.patch
  Log:
  version bump (bug #481036)
  
  (Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)

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

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/openttd/files/openttd-1.3.2-cflags.patch?rev=1.1&view=markup
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

Index: openttd-1.3.2-cflags.patch
===================================================================
--- 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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-26 23:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26 23:10 [gentoo-commits] gentoo-x86 commit in games-simulation/openttd/files: openttd-1.3.2-cflags.patch Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox