build: Add proper infrastructure for adding and checking host CPPFLAGS

This commit is contained in:
Diego Biurrun
2013-02-23 20:23:45 +01:00
parent 2aac411fd4
commit 4cc4b33f71
2 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ CFLAGS += $(ECFLAGS)
CCFLAGS = $(CPPFLAGS) $(CFLAGS)
ASFLAGS := $(CPPFLAGS) $(ASFLAGS)
YASMFLAGS += $(IFLAGS:%=%/) -Pconfig.asm
HOSTCCFLAGS = $(IFLAGS) $(HOSTCFLAGS)
HOSTCCFLAGS = $(IFLAGS) $(HOSTCPPFLAGS) $(HOSTCFLAGS)
LDFLAGS := $(ALLFFLIBS:%=$(LD_PATH)lib%) $(LDFLAGS)
define COMPILE