[hackers] [scc] Remove CPPFLAGS from Makefiles || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 25 Nov 2015 10:03:24 +0100 (CET)

commit 9c337dec526ba7b485ba66957f196249afa82922
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Nov 25 10:02:25 2015 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -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)
Received on Wed Nov 25 2015 - 10:03:24 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 25 2015 - 10:12:14 CET