Source: lcms
Severity: important
Tags: patch
Please enabled hardened build flags through dpkg-buildflags.
Patch attached.
Cheers,
Moritz
--- lcms-1.19.dfsg.orig/debian/rules 2012-01-05 23:19:22.000000000 +0100
+++ lcms-1.19.dfsg/debian/rules 2012-01-05 23:16:55.000000000 +0100
@@ -31,9 +31,9 @@
ifeq ($(ARCH),powerpc)
echo "#define USE_BIG_ENDIAN" >include/lcms-endian.h
endif
- CFLAGS=$(CFLAGS) ./configure --prefix=/usr --with-python
+ ./configure $(shell dpkg-buildflags --export=configure) --prefix=/usr --with-python
cd python && ./swig_lcms && cd ..
- make CFLAGS=$(CFLAGS)
+ make
touch build-stamp
clean: