From 6d2d5307a6b358f3528f53cc6a8c9b2acd50f397 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 11 Dec 2015 11:25:02 +0100 Subject: use libpng, ... now we just have to make it faster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mk/lang-c.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mk') 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) -- cgit v1.2.3-70-g09d2