aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/makefile_set_debian_buildflags.patch
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 /debian/patches/makefile_set_debian_buildflags.patch
parent9e39e730dbfc0d6fea346470c36daf31ec59faf4 (diff)
downloadfiglet-09e0ceebc8f762f2f7ef3961ac87d9c914395c61.tar.gz
debian/patches: Fix FTCBFS by defaulting LD to
Diffstat (limited to 'debian/patches/makefile_set_debian_buildflags.patch')
-rw-r--r--debian/patches/makefile_set_debian_buildflags.patch3
1 files changed, 2 insertions, 1 deletions
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)