[Pkg-voip-commits] [libss7] 44/51: Add Makefile-Don-t-override-CFLAGS-and-use-CPPFLAGS.patch

tzafrir at debian.org tzafrir at debian.org
Mon Oct 31 09:39:02 UTC 2016


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

tzafrir pushed a commit to branch master
in repository libss7.

commit 30e0d7d94c0e7587570f9420f79553def30439ed
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Sun Oct 30 19:40:01 2016 +0200

    Add Makefile-Don-t-override-CFLAGS-and-use-CPPFLAGS.patch
---
 ...le-Don-t-override-CFLAGS-and-use-CPPFLAGS.patch | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0001-Makefile-Don-t-override-CFLAGS-and-use-CPPFLAGS.patch b/debian/patches/0001-Makefile-Don-t-override-CFLAGS-and-use-CPPFLAGS.patch
new file mode 100644
index 0000000..5dedbae
--- /dev/null
+++ b/debian/patches/0001-Makefile-Don-t-override-CFLAGS-and-use-CPPFLAGS.patch
@@ -0,0 +1,22 @@
+From: Tzafrir Cohen <tzafrir at debian.org>
+Date: Sun, 30 Oct 2016 19:37:10 +0200
+Subject: Makefile: Don't override CFLAGS and use CPPFLAGS
+
+---
+ Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index c61bc35..b88f08d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -43,7 +43,8 @@ STATIC_OBJS= \
+ 	version.o
+ DYNAMIC_OBJS= \
+ 	$(STATIC_OBJS)
+-CFLAGS ?= -g
++CFLAGS += $(CPPFLAGS)
++CFLAGS += -g
+ CFLAGS += -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
+ CFLAGS += -fPIC $(LIBSS7_OPT) $(COVERAGE_CFLAGS)
+ INSTALL_PREFIX=$(DESTDIR)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3e91669
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Makefile-Don-t-override-CFLAGS-and-use-CPPFLAGS.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/libss7.git



More information about the Pkg-voip-commits mailing list