aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-11 11:25:02 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-11 11:25:02 +0100
commit6d2d5307a6b358f3528f53cc6a8c9b2acd50f397 (patch)
tree72bbada59c7c2188e7bdfbe7e7b372097cc9ef38 /mk
parentsoon, convert will not be used (diff)
downloadscrotty-6d2d5307a6b358f3528f53cc6a8c9b2acd50f397.tar.gz
scrotty-6d2d5307a6b358f3528f53cc6a8c9b2acd50f397.tar.bz2
scrotty-6d2d5307a6b358f3528f53cc6a8c9b2acd50f397.tar.xz
use libpng, ... now we just have to make it faster
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/lang-c.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/lang-c.mk b/mk/lang-c.mk
index 5d952b6..b8076d6 100644
--- a/mk/lang-c.mk
+++ b/mk/lang-c.mk
@@ -112,11 +112,11 @@ _CPPFLAGS += $(foreach D,$(_ALL_DIRS),-D'$(D)="$($(D))"')
# MORE HELP VARIABLES:
# Compilation and linking flags, and command.
-CPPFLAGS = $(_CPPFLAGS)
-CFLAGS = $(OPTIMISE) $(WARN) $(_CFLAGS)
-LDFLAGS = $(OPTIMISE) $(WARN) $(_LDFLAGS)
-__CC = $(CC) -std=$(_C_STD) -c
-__LD = $(CC) -std=$(_C_STD)
+CPPFLAGS =
+CFLAGS = $(OPTIMISE) $(WARN)
+LDFLAGS = $(OPTIMISE) $(WARN)
+__CC = $(CC) -std=$(_C_STD) -c $(_CPPFLAGS) $(_CFLAGS)
+__LD = $(CC) -std=$(_C_STD) $(_LDFLAGS)
__CC_POST = $(CPPFLAGS) $(CFLAGS) $(EXTRA_CPPFLAGS) $(EXTRA_CFLAGS)
__LD_POST = $(LDFLAGS) $(EXTRA_LDFLAGS)