diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-01-28 01:04:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-01-28 01:04:49 +0000 |
commit | fd37d1975a957343a4b9f0c93fb98d6f91ca91cb (patch) | |
tree | 70569471f657633f606e615ffbec5951661d8f0f /test | |
parent | db5c5752566147689063340a87531ca4ac626a98 (diff) |
"make utils" now successfully makes utils for target
Diffstat (limited to 'test')
-rw-r--r-- | test/Rules.mak | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index d188a9175..83d1082df 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -82,8 +82,9 @@ XARCH_CFLAGS := $(subst ",, $(strip $(ARCH_CFLAGS))) $(CPU_CFLAGS) XCOMMON_CFLAGS := -D_GNU_SOURCE -I$(top_builddir)test CFLAGS := $(XWARNINGS) $(OPTIMIZATION) $(XCOMMON_CFLAGS) $(XARCH_CFLAGS) -nostdinc -I$(top_builddir)$(LOCAL_INSTALL_PATH)/usr/include -CC_IPREFIX:=$(shell $(CC) --print-file-name=include) -CFLAGS += -I$(dir $(CC_IPREFIX))/include-fixed -I$(CC_IPREFIX) +CC_IPREFIX := $(shell $(CC) --print-file-name=include) +CC_INC := -I$(dir $(CC_IPREFIX))include-fixed -I$(CC_IPREFIX) +CFLAGS += $(CC_INC) HOST_CFLAGS += $(XWARNINGS) $(OPTIMIZATION) $(XCOMMON_CFLAGS) |