[med-svn] [pbdagcon] 06/08: Ensure all compiler flags are passed to the build system

Afif Elghraoui afif-guest at moszumanska.debian.org
Fri Dec 11 08:57:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

afif-guest pushed a commit to branch master
in repository pbdagcon.

commit bd0e25a3a92c6bc68cc5add8e8de1f7e0094a4c4
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Fri Dec 11 00:36:18 2015 -0800

    Ensure all compiler flags are passed to the build system
---
 debian/patches/compiler-flags.patch | 23 +++++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/compiler-flags.patch b/debian/patches/compiler-flags.patch
new file mode 100644
index 0000000..012ece9
--- /dev/null
+++ b/debian/patches/compiler-flags.patch
@@ -0,0 +1,23 @@
+Description: Prevent override of dpkg-buildflags
+Author: Afif Elghraoui <afif at ghraoui.name>
+Forwarded: not-needed
+Last-Update: 2015-12-11
+--- pbdagcon.orig/src/cpp/Makefile
++++ pbdagcon/src/cpp/Makefile
+@@ -5,13 +5,13 @@
+ PBDAGCON_OBJECTS := BlasrM5AlnProvider.o main.o SimpleAligner.o
+ DAZCON_OBJECTS := DB.o align.o DazAlnProvider.o dazcon.o
+ 
+-CXXFLAGS = -O3 -std=c++11 -Wall -Wuninitialized -pedantic -I third-party \
++CXXFLAGS += -O3 -std=c++11 -Wall -Wuninitialized -pedantic -I third-party \
+ 		   -I $(BOOST_HEADERS)
+ 
+-CFLAGS = -O3 -Wall -Wextra -fno-strict-aliasing
++CFLAGS += -O3 -Wall -Wextra -fno-strict-aliasing
+ 
+ INCDIRS := -I$(PBDATA) -I$(BLASR) $(EXTRA_INCDIRS)
+-LDFLAGS := -L$(PBDATA) -L$(BLASR) $(EXTRA_LDFLAGS)
++LDFLAGS += -L$(PBDATA) -L$(BLASR) $(EXTRA_LDFLAGS)
+ 
+ all: pbdagcon
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 97e8f6a..93876f6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 external-libs.patch
+compiler-flags.patch
 gtest-directory.patch
 disable-dazcon-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbdagcon.git



More information about the debian-med-commit mailing list