shithub: scc

Download patch

ref: 9c337dec526ba7b485ba66957f196249afa82922
parent: 1aa2143073c30f374c33e0288135dc3e04494588
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Nov 25 05:02:25 EST 2015

Remove CPPFLAGS from Makefiles

CPPFLAGS is not POSIX, so it is better to define
everything in CFLAGS and become more portable.

--- a/config.mk
+++ b/config.mk
@@ -13,6 +13,5 @@
 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)