Package: sash
Version: 3.7-10
Severity: important
Tags: patch
Please enabled hardened build flags through dpkg-buildflags.
Patch attached.
Cheers,
Moritz
diff -aur sash-3.7.orig/Makefile sash-3.7/Makefile
--- sash-3.7.orig/Makefile 2012-01-02 04:34:43.000000000 +0100
+++ sash-3.7/Makefile 2012-01-06 19:59:40.000000000 +0100
@@ -25,9 +25,13 @@
-DHAVE_LINUX_MOUNT=$(HAVE_LINUX_MOUNT) \
-DHAVE_BSD_MOUNT=$(HAVE_BSD_MOUNT) \
-DMOUNT_TYPE=$(MOUNT_TYPE)
-CFLAGS = -O3 -Wall -Wmissing-prototypes -g $(DEFS)
-LDFLAGS = -static -s
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -O3 -Wall -Wmissing-prototypes -g $(DEFS)
+LDFLAGS = `dpkg-buildflags --get LDFLAGS`
+LDFLAGS += -static -s
+CFLAGS += `dpkg-buildflags --get CPPFLAGS`
+
LIBS = -lz
Nur in sash-3.7: Makefile~.