summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2017-01-12 14:30:32 +0300
committerDmitry Bogatov <KAction@gnu.org>2017-01-12 14:30:32 +0300
commit9d158367eab12bd876bd0624cf2b8abba469795d (patch)
tree9758b03996bc785a3cc9628db3751c2bca48a554
parent3f2edacf422c4096bc36e172f72e0088a24cd2a3 (diff)
Commit Debian 3.0 (quilt) metadata
[dgit (3.1) quilt-fixup]
-rw-r--r--debian/patches/respect-flags-passed-by-debhelper23
-rw-r--r--debian/patches/series1
2 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/respect-flags-passed-by-debhelper b/debian/patches/respect-flags-passed-by-debhelper
new file mode 100644
index 0000000..ee5fbc4
--- /dev/null
+++ b/debian/patches/respect-flags-passed-by-debhelper
@@ -0,0 +1,23 @@
+From: Dmitry Bogatov <KAction@gnu.org>
+Date: Thu, 12 Jan 2017 14:30:25 +0300
+X-Dgit-Generated: 2.20170109-1 3f2edacf422c4096bc36e172f72e0088a24cd2a3
+Subject: Respect FLAGS passed by debhelper
+
+
+---
+
+--- farbfeld-2.20170109.orig/config.mk
++++ farbfeld-2.20170109/config.mk
+@@ -17,9 +17,9 @@ INCS =
+ LIBS =
+
+ # flags
+-CPPFLAGS = -D_DEFAULT_SOURCE
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS}
+-LDFLAGS = -s ${LIBS}
++CPPFLAGS += -D_DEFAULT_SOURCE
++CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS}
++LDFLAGS += -s ${LIBS}
+
+ # compiler and linker
+ CC = cc
diff --git a/debian/patches/series b/debian/patches/series
index 7f415c2..95486a2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-installation-paths
+respect-flags-passed-by-debhelper