r6417 - packages/trunk/ogre/debian

Andres Mejia ceros-guest at alioth.debian.org
Fri Apr 4 00:06:48 UTC 2008


Author: ceros-guest
Date: 2008-04-04 00:06:48 +0000 (Fri, 04 Apr 2008)
New Revision: 6417

Modified:
   packages/trunk/ogre/debian/changelog
   packages/trunk/ogre/debian/rules
Log:
Changing use of CFLAGS to CXXFLAGS.

Modified: packages/trunk/ogre/debian/changelog
===================================================================
--- packages/trunk/ogre/debian/changelog	2008-04-03 23:28:26 UTC (rev 6416)
+++ packages/trunk/ogre/debian/changelog	2008-04-04 00:06:48 UTC (rev 6417)
@@ -8,6 +8,7 @@
   * Updated compiledemos.sh.
   * Setup a OGRE_CONFIG_OPTIONS for default configure options used in building
     ogre.
+  * Changing use of CFLAGS TO CXXFLAGS.
   * Updated update-ogre-plugins manual page.
 
  -- Andres Mejia <mcitadel at gmail.com>  Thu, 27 Mar 2008 13:42:44 -0400

Modified: packages/trunk/ogre/debian/rules
===================================================================
--- packages/trunk/ogre/debian/rules	2008-04-03 23:28:26 UTC (rev 6416)
+++ packages/trunk/ogre/debian/rules	2008-04-04 00:06:48 UTC (rev 6417)
@@ -17,14 +17,14 @@
   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 endif
 
-# CFLAGS, CXXFLAGS, and LDFLAGS to use. Allowing them to be overriden.
-DEFAULT_CFLAGS = -Wall -g
+# CXXFLAGS to use. Allowing it to be overriden.
+DEFAULT_CXXFLAGS = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-   DEFAULT_CFLAGS += -O0
+   DEFAULT_CXXFLAGS += -O0
 else
-   DEFAULT_CFLAGS += -O2
+   DEFAULT_CXXFLAGS += -O2
 endif
-CFLAGS ?= $(DEFAULT_CFLAGS)
+CXXFLAGS ?= $(DEFAULT_CXXFLAGS)
 
 # Include a OGRE_CONFIG_OPTIONS variable that has the default configure options
 # used to build this package. This variable can be overridden.
@@ -40,7 +40,7 @@
 		--enable-openexr \
 		--with-gui=Xt \
 		--disable-ogre-demos \
-		CFLAGS="$(CFLAGS)"
+		CXXFLAGS="$(CXXFLAGS)"
 
 patch: patch-stamp
 patch-stamp:




More information about the Pkg-games-commits mailing list