]> www.infradead.org Git - users/dhowells/kafs-client.git/commitdiff
Update CFLAGS usage in Makefile
authorBill MacAllister <bill@ca-zephyr.org>
Tue, 9 Jun 2020 01:43:30 +0000 (01:43 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 18 Jun 2020 15:16:13 +0000 (16:16 +0100)
Do not force CFLAGS in src/Makefile and allow the environment to
override.  This fixes discarding of hardening flags set by the Debian
build system.

Signed-off-by: Bill MacAllister <bill@ca-zephyr.org>
Signed-off-by: David Howells <dhowells@redhat.com>
src/Makefile

index 16984e2593d8472c4681e42c6b403aec73dbdb5e..d7fd488b174f7aef0e3a14c6ce3777bc052e0c44 100644 (file)
@@ -1,4 +1,4 @@
-CFLAGS         = -g -Wall -Wsign-compare
+CFLAGS         ?= -g -Wall -Wsign-compare
 
 include Makefile.config