Skip to content

Commit

Permalink
Use DEB_BUILD_MAINT_OPTIONS variable instead of CPPFLAGS, CFLAGS, CXX…
Browse files Browse the repository at this point in the history
…FLAGS and LDFLAGS separately in debian/rules.
  • Loading branch information
martin-steghoefer committed Sep 20, 2014
1 parent 9416a63 commit 4fdf926
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions debian/rules
@@ -1,9 +1,6 @@
#!/usr/bin/make -f

export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
export DEB_BUILD_MAINT_OPTIONS:=hardening=+all

# Use qt4's qmake executable
export QMAKE:="qmake-qt4"
Expand Down

0 comments on commit 4fdf926

Please sign in to comment.