r5440 - packages/trunk/ogreal/debian

Andres Mejia ceros-guest at alioth.debian.org
Thu Jan 17 20:44:35 UTC 2008


Author: ceros-guest
Date: 2008-01-17 20:44:35 +0000 (Thu, 17 Jan 2008)
New Revision: 5440

Modified:
   packages/trunk/ogreal/debian/rules
Log:
Change CFLAGS to CXXFLAGS in debian rules.

Modified: packages/trunk/ogreal/debian/rules
===================================================================
--- packages/trunk/ogreal/debian/rules	2008-01-17 20:29:13 UTC (rev 5439)
+++ packages/trunk/ogreal/debian/rules	2008-01-17 20:44:35 UTC (rev 5440)
@@ -16,13 +16,13 @@
   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 endif
 
-CFLAGS += -Wall -g
+CXXFLAGS += -Wall -g
 # Supporting 'noopt' option. 'nostrip' option not provided as this package
 # creates debugging packages.
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
+	CXXFLAGS += -O0
 else
-	CFLAGS += -O2
+	CXXFLAGS += -O2
 endif
 
 fromdos:
@@ -51,7 +51,7 @@
 	autoheader -f
 	automake --add-missing --force-missing --copy --foreign
 	autoconf -f
-	./configure --prefix=/usr $(confflags) CFLAGS="$(CFLAGS)"
+	./configure --prefix=/usr $(confflags) CXXFLAGS="$(CXXFLAGS)"
 	touch configure-stamp
 
 build: configure build-stamp




More information about the Pkg-games-commits mailing list