[glfw] 14/18: Handle build flags correctly to fix hardening warnings
James Cowgill
jcowgill-guest at moszumanska.debian.org
Fri Jun 26 11:22:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
jcowgill-guest pushed a commit to branch master
in repository glfw.
commit 2d3e61e6adef014da8bff0ee31eef807f4525ded
Author: James Cowgill <james410 at cowgill.org.uk>
Date: Sat Jun 20 22:31:31 2015 +0100
Handle build flags correctly to fix hardening warnings
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index ba683ef..22273a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+# The build system does not understand CPPFLAGS or LDFLAGS
+export CFLAGS=$(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get CFLAGS)
+export LFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/glfw.git
More information about the Pkg-games-commits
mailing list