Author: jsonic-guest
Date: 2014-01-01 09:38:06 +0000 (Wed, 01 Jan 2014)
New Revision: 14750
Modified:
packages/trunk/love/debian/changelog
packages/trunk/love/debian/rules
Log:
Enable hardening also for C++ code.
Modified: packages/trunk/love/debian/changelog
===================================================================
--- packages/trunk/love/debian/changelog 2013-12-31 20:56:36 UTC (rev
14749)
+++ packages/trunk/love/debian/changelog 2014-01-01 09:38:06 UTC (rev
14750)
@@ -6,6 +6,7 @@
* Change libtiff4-dev and libpng12-dev to libtiff-dev and libpng-dev.
Closes: #723149. Thanks Artur Rona.
* Change liblua5.1-expat0 to lua-expat. Closes: #728028. Thanks Micah
Gersten.
+ * Enable hardening also for C++ code.
-- Juhani Numminen <[email protected]> Tue, 31 Dec 2013 18:22:04
+0200
Modified: packages/trunk/love/debian/rules
===================================================================
--- packages/trunk/love/debian/rules 2013-12-31 20:56:36 UTC (rev 14749)
+++ packages/trunk/love/debian/rules 2014-01-01 09:38:06 UTC (rev 14750)
@@ -6,8 +6,9 @@
#export DH_VERBOSE=1
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
-LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-as-needed
configure: configure-stamp
configure-stamp:
@@ -27,8 +28,10 @@
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
- CFLAGS="$(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) `pkg-config openal
flac++ --cflags --libs`" \
- LDFLAGS="$(LDFLAGS) -Wl,-z,defs -Wl,-as-needed `pkg-config
openal flac++ --libs`"
+ CPPFLAGS="$(CPPFLAGS)" \
+ CFLAGS="$(CFLAGS)" \
+ CXXFLAGS="$(CXXFLAGS)" \
+ LDFLAGS="$(LDFLAGS)"
touch $@
build-arch: build-arch-stamp
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits