aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited 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)