aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2017-06-22 00:45:12 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2017-06-22 00:45:12 +0100
commit09e0ceebc8f762f2f7ef3961ac87d9c914395c61 (patch)
treebc4a5480ba3c22ca59a21e9ca4e80e6260c56687
parent9e39e730dbfc0d6fea346470c36daf31ec59faf4 (diff)
downloadfiglet-09e0ceebc8f762f2f7ef3961ac87d9c914395c61.tar.gz
debian/patches: Fix FTCBFS by defaulting LD to
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/makefile_set_debian_buildflags.patch3
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index e6708f8..3b6398e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ figlet (2.2.5-3) UNRELEASED; urgency=low
- No changes necessary
* debian/{control,copyright}: various fixes found by
libconfig-model-dpkg-perl
+ * debian/patches: Fix FTCBFS by defaulting LD to $(CC) (closes: #852785)
+ - Thanks to Helmut Grohne <helmut@subdivi.de> for the patch
-- Jonathan McCrohan <jmccrohan@gmail.com> Tue, 18 Dec 2012 22:44:16 +0000
diff --git a/debian/patches/makefile_set_debian_buildflags.patch b/debian/patches/makefile_set_debian_buildflags.patch
index 2ea6e17..c5bf32d 100644
--- a/debian/patches/makefile_set_debian_buildflags.patch
+++ b/debian/patches/makefile_set_debian_buildflags.patch
@@ -12,7 +12,8 @@ Date: Mon, 28 May 2012 00:37:27 +0100
CC = gcc
-CFLAGS = -g -O2 -Wall
+CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
- LD = gcc
+-LD = gcc
++LD = $(CC)
-LDFLAGS =
+LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)