1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Pass CPPFLAGS and LDFLAGS to the compiler to enable hardening
Author: Andreas Moog <andreas.moog@warperbbs.de>
Bug-Debian: https://bugs.debian.org/612181
--- bluemon-1.4.orig/Makefile
+++ bluemon-1.4/Makefile
@@ -20,11 +20,11 @@ print-release-name:
echo $(DEB_RELEASE)
bluemon: bluetooth-monitor.c
- $(CC) $(CFLAGS) $(INCLUDES) $(LIBS) -DVERSION=\"$(VERSION)\" -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDES) -DVERSION=\"$(VERSION)\" -o $@ $< $(LDFLAGS) $(LIBS)
bluemon-query: bluemon-query.c
- $(CC) $(CFLAGS) $(INCLUDES) $(LIBS) -DVERSION=\"$(VERSION)\" -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDES) -DVERSION=\"$(VERSION)\" -o $@ $< $(LDFLAGS) $(LIBS)
bluemon-client: bluemon-client.c
- $(CC) $(CFLAGS) $(INCLUDES) $(LIBS) -DVERSION=\"$(VERSION)\" -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDES) -DVERSION=\"$(VERSION)\" -o $@ $< $(LDFLAGS) $(LIBS)
%.1: %.sgml
docbook-to-man $< > $@
|