Description: Add Hardening changes to Makefile
 * Add Hardening changes to Makefile
Author: Cord Beermann <cord@debian.org>

--- passwordmaker-cli-1.5+dfsg.orig/unix.mak
+++ passwordmaker-cli-1.5+dfsg/unix.mak
@@ -29,6 +29,10 @@ LINK = $(CXX)
 DEFINES = -DUSE_MHASH -DTIXML_USE_STL
 CFLAGS = -O2 -Wall $(DEFINES)
 CXXFLAGS = -O2 -frtti -fexceptions -Wall $(DEFINES)
+CFLAGS += $(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS += $(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
+CPPFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
 INCPATH = -I.
 LIBS = -lmhash -lpcrecpp
 
