Make sure compiler flags also pick up correct toolchain.
Change-Id: Id6ff8c3ee7cfa5dee46ef000cbceb7666b934240
This commit is contained in:
@@ -22,6 +22,7 @@ CLANG_CONFIG_UNKNOWN_CFLAGS := \
|
|||||||
ifeq ($(TARGET_ARCH),arm)
|
ifeq ($(TARGET_ARCH),arm)
|
||||||
CLANG_CONFIG_EXTRA_CFLAGS += \
|
CLANG_CONFIG_EXTRA_CFLAGS += \
|
||||||
-target arm-linux-androideabi \
|
-target arm-linux-androideabi \
|
||||||
|
-B$(TARGET_TOOLCHAIN_ROOT)/arm-linux-androideabi/bin \
|
||||||
-mllvm -arm-enable-ehabi
|
-mllvm -arm-enable-ehabi
|
||||||
CLANG_CONFIG_EXTRA_LDFLAGS += \
|
CLANG_CONFIG_EXTRA_LDFLAGS += \
|
||||||
-target arm-linux-androideabi \
|
-target arm-linux-androideabi \
|
||||||
@@ -35,7 +36,8 @@ ifeq ($(TARGET_ARCH),arm)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(TARGET_ARCH),x86)
|
ifeq ($(TARGET_ARCH),x86)
|
||||||
CLANG_CONFIG_EXTRA_CFLAGS += \
|
CLANG_CONFIG_EXTRA_CFLAGS += \
|
||||||
-target i686-android-linux
|
-target i686-android-linux \
|
||||||
|
-B$(TARGET_TOOLCHAIN_ROOT)/i686-android-linux/bin
|
||||||
CLANG_CONFIG_EXTRA_LDFLAGS += \
|
CLANG_CONFIG_EXTRA_LDFLAGS += \
|
||||||
-target i686-android-linux \
|
-target i686-android-linux \
|
||||||
-B$(TARGET_TOOLCHAIN_ROOT)/i686-android-linux/bin
|
-B$(TARGET_TOOLCHAIN_ROOT)/i686-android-linux/bin
|
||||||
|
Reference in New Issue
Block a user