r1837 - packages/trunk/foobillard/debian

Frank Gevaerts fgevaerts-guest at costa.debian.org
Thu Oct 12 17:16:18 UTC 2006


Author: fgevaerts-guest
Date: 2006-10-12 17:16:17 +0000 (Thu, 12 Oct 2006)
New Revision: 1837

Modified:
   packages/trunk/foobillard/debian/rules
Log:
added optimization CFLAGS. They seem to have disappeared from the upstream makefiles between versions 2.6 and 2.8.


Modified: packages/trunk/foobillard/debian/rules
===================================================================
--- packages/trunk/foobillard/debian/rules	2006-10-12 15:31:45 UTC (rev 1836)
+++ packages/trunk/foobillard/debian/rules	2006-10-12 17:16:17 UTC (rev 1837)
@@ -10,11 +10,17 @@
 
 export DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-export CFLAGS=
+export CFLAGS=-g
 ifeq ($(DEB_BUILD_GNU_TYPE),alpha-linux)
    export CFLAGS += -mieee
 endif
 
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
 build: patch
 	dh_testdir
 	./configure --prefix=/usr --bindir=/usr/games \




More information about the Pkg-games-commits mailing list