[med-svn] [python-pbconsensuscore] 01/08: Pass compiler flags to upstream build system

Afif Elghraoui afif-guest at moszumanska.debian.org
Thu Sep 3 07:14:30 UTC 2015


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

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

commit f92d3762c9fb7215cdd32761237880ffa4b2d136
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Wed Sep 2 21:16:32 2015 -0700

    Pass compiler flags to upstream build system
---
 debian/patches/compiler-flags.patch | 18 ++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/compiler-flags.patch b/debian/patches/compiler-flags.patch
new file mode 100644
index 0000000..4794a34
--- /dev/null
+++ b/debian/patches/compiler-flags.patch
@@ -0,0 +1,18 @@
+Description: Honor CPPFLAGS, CXXFLAGS, and LDFLAGS
+ These are necessary to pass Debian's required compiler options.
+Author: Afif Elghraoui <afif at ghraoui.name>
+Forwarded: no
+Last-Update: 2015-09-02
+--- python-pbconsensuscore.orig/make/Defs.mk
++++ python-pbconsensuscore/make/Defs.mk
+@@ -53,8 +53,8 @@
+     CXX_STRICT_FLAGS    = $(CXX_FLAGS) -pedantic -std=$(CPP_ABI) -Wall
+ endif
+ 
+-CXX             = $(CCACHE) $(GXX) $(MACHINE) $(CXX_FLAGS) $(INCLUDES) -isystem $(BOOST)
+-CXX_STRICT      = $(CCACHE) $(GXX) $(MACHINE) $(CXX_STRICT_FLAGS) $(INCLUDES) -isystem $(BOOST)
++CXX             = $(CCACHE) $(GXX) $(MACHINE) $(CPPFLAGS) $(CXXFLAGS) $(CXX_FLAGS) $(INCLUDES) -isystem $(BOOST) $(LDFLAGS)
++CXX_STRICT      = $(CCACHE) $(GXX) $(MACHINE) $(CPPFLAGS) $(CXXFLAGS) $(CXX_STRICT_FLAGS) $(INCLUDES) -isystem $(BOOST) $(LDFLAGS)
+ 
+ ifeq ($(UNAME), Darwin)
+     SHLIB_FLAGS = -shared -undefined dynamic_lookup
diff --git a/debian/patches/series b/debian/patches/series
index 5299247..6c4c31d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 spelling.patch
+compiler-flags.patch

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



More information about the debian-med-commit mailing list