Tweak for Debian packaging.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 11 Jan 2021 05:27:09 +0000 (00:27 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 11 Jan 2021 05:27:09 +0000 (00:27 -0500)
Makefile

index afd81a099480bd0da6d103abb8e44fe8e6d45f66..70d004eebe364743e46b8a8c467331c20fb3d3a8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ VERS=$(shell sed -n <NEWS '/^[0-9]/s/:.*//p' | head -1)
 .PHONY: check coverage
 
 CC?=gcc
-CCFLAGS+=-std=c99 -D_DEFAULT_SOURCE -DVERSION=\"$(VERS)\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all
+CCFLAGS+=-std=c99 -D_DEFAULT_SOURCE -DVERSION=\"$(VERS)\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS)
 LIBS=$(shell pkg-config --libs libedit)
 INC+=$(shell pkg-config --cflags libedit)