| 1 |
Description: Abide by (C|CPP|LD)FLAGS in Makefile |
| 2 |
In order to accept Debian's hardening flags. |
| 3 |
Author: Thibaut Paumard <[email protected]> |
| 4 |
Origin: vendor |
| 5 |
Forwarded: no |
| 6 |
Last-Update: 2013-07-21 |
| 7 |
--- |
| 8 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 9 |
--- a/Makefile |
| 10 |
+++ b/Makefile |
| 11 |
@@ -5,14 +5,14 @@ |
| 12 |
# |
| 13 |
|
| 14 |
CC = gcc |
| 15 |
|
| 16 |
+#CFLAGS = -Wall |
| 17 |
SBIN_DIR = $(DESTDIR)/usr/sbin |
| 18 |
ETC_DIR = $(DESTDIR)/etc |
| 19 |
|
| 20 |
all: macfanctld |
| 21 |
|
| 22 |
macfanctld: macfanctl.c control.c config.c control.h config.h |
| 23 |
|
| 24 |
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) macfanctl.c control.c config.c -o macfanctld |
| 25 |
|
| 26 |
clean: |
| 27 |
dh_testdir |