Fixed #61 a building bug about setting TARGET and DYNAMIC_ARCH at the same time.

This commit is contained in:
Xianyi 2011-09-17 02:27:56 +08:00
parent e27b761d7c
commit d0152ec8ca
1 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,13 @@ HOSTCC = $(CC)
endif
ifdef TARGET
GETARCH_FLAGS += -DFORCE_$(TARGET)
GETARCH_FLAGS := -DFORCE_$(TARGET)
endif
#TARGET_CORE will override TARGET which is used in DYNAMIC_ARCH=1.
#
ifdef TARGET_CORE
GETARCH_FLAGS := -DFORCE_$(TARGET_CORE)
endif
ifdef INTERFACE64