getltscfg-makefile-flags
authorLTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>
Sun, 9 Mar 2014 01:38:49 +0000 (01:38 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 9 Mar 2014 01:38:49 +0000 (01:38 +0000)
Ensure LDFLAGS and CPPFLAGS are respected when building getltscfg, otherwise
some hardened build flags are ignored.

Gbp-Pq: Name getltscfg-makefile-flags

client/getltscfg/Makefile

index a384d4e9d6475cee63e5b5284c7e56b930894df4..dd89a697de6e7298ec314aa629673eadd8195293 100644 (file)
@@ -6,8 +6,7 @@ YACC=bison
 LIBS=-lfl -lpopt
 ##LIBS=-lfl -ll -lpopt
 YFLAGS=-v -d
-LDFLAGS=
-CCFLAGS=-W -Wall $(CFLAGS)
+CCFLAGS=-W -Wall $(CFLAGS) $(CPPFLAGS)
 
 getltscfg:     getltscfg.o             \
                parser.tab.o            \