From dc1983d047aa8bd066900d8c02c28f0342923776 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Wed, 10 Oct 2012 10:15:17 -0600 Subject: [PATCH] include CPPFLAGS --- Makefile | 4 ++-- debian/patches/makefile-support-hardening | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 301fd02..ea23ce4 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,10 @@ div.h: div ./div div: division.c - $(CC) -o div $(CFLAGS) division.c + $(CC) -o div $(CFLAGS) $(CPPFLAGS) division.c .c.o: - $(CC) -c -o $@ $(CFLAGS) $< + $(CC) -c -o $@ $(CFLAGS) $(CPPFLAGS) $< clean: rm -f *.o yforth div.h div diff --git a/debian/patches/makefile-support-hardening b/debian/patches/makefile-support-hardening index 9b0cc5b..51d26a7 100644 --- a/debian/patches/makefile-support-hardening +++ b/debian/patches/makefile-support-hardening @@ -19,11 +19,11 @@ index 5e0fddb..301fd02 100644 div: division.c - $(CC) -o div division.c -+ $(CC) -o div $(CFLAGS) division.c ++ $(CC) -o div $(CFLAGS) $(CPPFLAGS) division.c .c.o: - $(CC) -c -o $@ $(OPTIMIZE) $< -+ $(CC) -c -o $@ $(CFLAGS) $< ++ $(CC) -c -o $@ $(CFLAGS) $(CPPFLAGS) $< clean: rm -f *.o yforth div.h div -- 2.30.2