Source: libsndfile Severity: important Tags: patch Please enabled hardened build flags through dpkg-buildflags.
Patch attached. Cheers, Moritz
diff -aur libsndfile-1.0.25.orig/debian/rules libsndfile-1.0.25/debian/rules --- libsndfile-1.0.25.orig/debian/rules 2011-08-13 01:49:09.000000000 +0200 +++ libsndfile-1.0.25/debian/rules 2012-01-06 01:04:34.000000000 +0100 @@ -11,9 +11,6 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) -ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) - CFLAGS += -g -endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif @@ -21,7 +18,7 @@ config.status: configure dh_testdir #autoreconf -f - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + ./configure $(shell dpkg-buildflags --export=configure) --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: patch build-stamp Nur in libsndfile-1.0.25/debian: rules~.