The following commit has been merged in the master branch:
commit 4537b2554bf23e52e3de325f46e27c4113d4694e
Author: Bruno Kleinert <[email protected]>
Date:   Fri Jun 3 16:13:34 2011 +0200

    Fix wrong variable name in debian/rules
    
    CXXOPTFLAGS → CXXFLAGS

diff --git a/debian/changelog b/debian/changelog
index 4e00581..a73be23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sauerbraten (0.0.20100728.dfsg-5) unstable; urgency=low
+
+  * Fix wrong variable name in debian/rules. It's not CXXOPTFLAGS but CXXFLAGS
+
+ -- Bruno "Fuddl" Kleinert <[email protected]>  Fri, 03 Jun 2011 16:12:50 +0200
+
 sauerbraten (0.0.20100728.dfsg-4) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 90c127b..69c6fd7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,9 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CXXOPTFLAGS+=
+       CXXFLAGS += -g
 else
-       CXXOPTFLAGS+=-O2 -fomit-frame-pointer
+       CXXFLAGS += -g -O2 -fomit-frame-pointer
 endif
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     NUMJOBS = $(patsubst parallel=%,%,$(filter 
parallel=%,$(DEB_BUILD_OPTIONS)))
@@ -18,7 +18,7 @@ build: build-stamp
 build-stamp:
        dh_testdir
        convert debian/sauerbraten.png debian/sauerbraten.xpm
-       $(MAKE) CXXOPTFLAGS="$(CXXOPTFLAGS)"
+       $(MAKE) CXXFLAGS="$(CXXFLAGS)"
        touch $@
 
 clean:

-- 
Packaging for sauerbraten game engine

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to