[med-svn] r15248 - trunk/packages/seqan/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Fri Nov 22 15:29:31 UTC 2013


Author: tille
Date: 2013-11-22 15:29:31 +0000 (Fri, 22 Nov 2013)
New Revision: 15248

Modified:
   trunk/packages/seqan/trunk/debian/rules
Log:
Droping -fstack-protector flag helps **drastically** reducing memory consumption when building the package!!!!


Modified: trunk/packages/seqan/trunk/debian/rules
===================================================================
--- trunk/packages/seqan/trunk/debian/rules	2013-11-22 15:12:40 UTC (rev 15247)
+++ trunk/packages/seqan/trunk/debian/rules	2013-11-22 15:29:31 UTC (rev 15248)
@@ -7,14 +7,15 @@
 #%:
 #	dh $@ --parallel --buildsystem=cmake
 
-#override_dh_auto_build:
+# Droping -fstack-protector flag helps **drastically** reducing memory consumption when building the package!!!!
+export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-fstack-protector *//')
+
 __makebuilddir::
 	# create backups of original *generated_forwards.h files to build twice in a row
 	for header in `find seqan -name "*generated_forwards.h"` ; do \
 	  mkdir -p orig/`dirname $$header` ; \
 	  cp -a $$header orig/$${header} ; \
 	done
-#	dh_auto_build
 
 #override_dh_auto_install:
 #	dh_auto_install




More information about the debian-med-commit mailing list