Source: xine-lib
Severity: important
Tags: patch
Please enabled hardened build flags through dpkg-buildflags.
Patch attached. (dpkg-buildflags abides "noopt" from DEB_BUILD_OPTIONS)
Cheers,
Moritz
diff -aur xine-lib-1.1.20.1.orig/debian/rules xine-lib-1.1.20.1/debian/rules
--- xine-lib-1.1.20.1.orig/debian/rules 2011-09-10 19:17:52.000000000 +0200
+++ xine-lib-1.1.20.1/debian/rules 2012-01-08 20:34:35.000000000 +0100
@@ -24,11 +24,9 @@
# predefine as empty
DEB_BUILD_CONFIG_OPTIONS :=
-CFLAGS += -g
# add if we don't want optimisations
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
DEB_BUILD_CONFIG_OPTIONS += --disable-optimizations
endif
@@ -72,7 +70,7 @@
$(DEB_BUILD_CONFIG_OPTIONS) \
$(DEB_EXTRA_CONFIG_FLAGS) \
LIBMODPLUG_LIBS="$(filter-out -lstdc++ -lm,$(shell pkg-config --libs libmodplug))" \
- CFLAGS="$(CFLAGS)"
+ $(shell dpkg-buildflags --export=configure)
configure: configure-stamp
configure-stamp:
Nur in xine-lib-1.1.20.1/debian: rules~.