[med-svn] r9903 - trunk/packages/dcmtk/trunk/debian
Mathieu Malaterre
malat-guest at alioth.debian.org
Tue Mar 6 21:13:42 UTC 2012
Author: malat-guest
Date: 2012-03-06 21:13:41 +0000 (Tue, 06 Mar 2012)
New Revision: 9903
Modified:
trunk/packages/dcmtk/trunk/debian/rules
Log:
prepare for hardening flags
Modified: trunk/packages/dcmtk/trunk/debian/rules
===================================================================
--- trunk/packages/dcmtk/trunk/debian/rules 2012-03-06 21:07:45 UTC (rev 9902)
+++ trunk/packages/dcmtk/trunk/debian/rules 2012-03-06 21:13:41 UTC (rev 9903)
@@ -89,7 +89,7 @@
# utilities dynamically against the shared library versions.
mv config/Makefile.def config/Makefile.def.static && \
- sed -e '/^CFLAGS =/s/-O/-fPIC -O2/' -e '/^CXXFLAGS =/s/-O/-fPIC -O2/' \
+ sed -e '/^CFLAGS =/s/-O/-fPIC $(CFLAGS)/' -e '/^CXXFLAGS =/s/-O/-fPIC $(CXXFLAGS)/' \
-e '/^AR =/s/ar/gcc/' -e '/^ARFLAGS =/s/cruv/-shared -Wl,-soname,\$$\@.2 -o/' \
-e '/^LIBEXT =/s/a/so/' -e '/^RANLIB =/s/ranlib/:/' \
<config/Makefile.def.static >config/Makefile.def && \
More information about the debian-med-commit
mailing list