diff options
Diffstat (limited to 'academic/bowtie/patches/use-dpkg-buildflags.patch')
-rw-r--r-- | academic/bowtie/patches/use-dpkg-buildflags.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/academic/bowtie/patches/use-dpkg-buildflags.patch b/academic/bowtie/patches/use-dpkg-buildflags.patch new file mode 100644 index 0000000000..7225d19af2 --- /dev/null +++ b/academic/bowtie/patches/use-dpkg-buildflags.patch @@ -0,0 +1,17 @@ +Description: Use build flags from environment (dpkg-buildflags). + Necessary for hardening flags. +Author: Simon Ruderich <simon@ruderich.org> +Last-Update: 2012-04-24 +Bug-Closed: http://bugs.debian.org/670230 + +--- a/Makefile ++++ b/Makefile +@@ -173,7 +173,7 @@ + $(MM_DEF) \ + $(SHMEM_DEF) + +-ALL_FLAGS = $(EXTRA_FLAGS) $(CFLAGS) $(CXXFLAGS) ++ALL_FLAGS = $(EXTRA_FLAGS) $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) + DEBUG_DEFS = -DCOMPILER_OPTIONS="\"$(DEBUG_FLAGS) $(ALL_FLAGS)\"" + RELEASE_DEFS = -DCOMPILER_OPTIONS="\"$(RELEASE_FLAGS) $(ALL_FLAGS)\"" + |