commit 9c337dec526ba7b485ba66957f196249afa82922
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Wed Nov 25 10:02:25 2015 +0100
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Wed Nov 25 10:02:25 2015 +0100
Remove CPPFLAGS from Makefiles
CPPFLAGS is not POSIX, so it is better to define
everything in CFLAGS and become more portable.
diff --git a/config.mk b/config.mk
index a0d6523..c989e5f 100644
--- a/config.mk
+++ b/config.mk
@@ -13,6 +13,5 @@ LD = $(CC)
AR = ar
# for Plan9 add -D_SUSV2_SOURCE -DNBOOL
-CFLAGS = -O2 -std=c99
+CFLAGS = -DNDEBUG -Iarch/$(ARCH) -O2 -std=c99
LDFLAGS = -s
-CPPFLAGS = -DNDEBUG -Iarch/$(ARCH)