aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/makefile_set_debian_buildflags.patch
diff options
context:
space:
mode:
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)