r5447 - packages/trunk/openal/debian
Andres Mejia
ceros-guest at alioth.debian.org
Fri Jan 18 01:05:12 UTC 2008
Author: ceros-guest
Date: 2008-01-18 01:05:12 +0000 (Fri, 18 Jan 2008)
New Revision: 5447
Modified:
packages/trunk/openal/debian/changelog
packages/trunk/openal/debian/rules
Log:
Using proper CFLAGS. Also removed changelog entry about not shipping libtool files.
Modified: packages/trunk/openal/debian/changelog
===================================================================
--- packages/trunk/openal/debian/changelog 2008-01-18 00:52:07 UTC (rev 5446)
+++ packages/trunk/openal/debian/changelog 2008-01-18 01:05:12 UTC (rev 5447)
@@ -39,9 +39,6 @@
- debian/libopenal0a.lintian-overrides:
Dropped (it was needed because of the `a' transition). Code snippet in
debian/rules dropped accordingly.
- - debian/libopenal-dev.install:
- Commented out the installation of *.la, which could probably be just
- dropped, see debian/TODO.
* Added XS-Vcs-Svn and XS-Vcs-Browser fields to the control file.
* Added missing dependency on libc-dev to the libopenal1-dev package.
@@ -53,6 +50,7 @@
[ Andres Mejia ]
* Add script to generate orig tarball.
+ * Using proper CFLAGS.
-- Andres Mejia <mcitadel at gmail.com> Thu, 17 Jan 2008 19:15:00 -0500
Modified: packages/trunk/openal/debian/rules
===================================================================
--- packages/trunk/openal/debian/rules 2008-01-18 00:52:07 UTC (rev 5446)
+++ packages/trunk/openal/debian/rules 2008-01-18 01:05:12 UTC (rev 5447)
@@ -8,6 +8,12 @@
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -O0 -g -Wall
+else
+CFLAGS += -O2 -g -Wall
+endif
+
BUILD_TREE=$(CURDIR)/build-tree
configure: configure-stamp
@@ -17,7 +23,7 @@
# Perform an out-of-tree build to keep a clean source tree
mkdir $(BUILD_TREE)
cd $(BUILD_TREE); cmake .. \
- -DCMAKE_INSTALL_PREFIX:STRING="/usr" \
+ -DCMAKE_INSTALL_PREFIX:STRING="/usr" -DCMAKE_C_FLAGS:STRING="$(CFLAGS)" \
-DBUILD_STATIC:BOOL=ON
touch configure-stamp
More information about the Pkg-games-commits
mailing list