scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 9c337dec526ba7b485ba66957f196249afa82922
parent 1aa2143073c30f374c33e0288135dc3e04494588
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 25 Nov 2015 10:02:25 +0100

Remove CPPFLAGS from Makefiles

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

Diffstat:
Mconfig.mk | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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)