aboutsummaryrefslogtreecommitdiff
path: root/toolchains/x86-clang3.1/setup.mk
diff options
context:
space:
mode:
Diffstat (limited to 'toolchains/x86-clang3.1/setup.mk')
-rw-r--r--toolchains/x86-clang3.1/setup.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolchains/x86-clang3.1/setup.mk b/toolchains/x86-clang3.1/setup.mk
index ccfdbda99..40e3c08c7 100644
--- a/toolchains/x86-clang3.1/setup.mk
+++ b/toolchains/x86-clang3.1/setup.mk
@@ -50,7 +50,8 @@ TARGET_CFLAGS := \
-ffunction-sections \
-funwind-tables \
-fstack-protector \
- -fPIC
+ -fPIC \
+ -no-canonical-prefixes
TARGET_C_INCLUDES := \
$(SYSROOT)/usr/include
@@ -58,7 +59,8 @@ TARGET_C_INCLUDES := \
# Add and LDFLAGS for the target here
TARGET_LDFLAGS := \
-gcc-toolchain $(call host-path,$(TOOLCHAIN_PREBUILT_ROOT)) \
- -target $(LLVM_TRIPLE)
+ -target $(LLVM_TRIPLE) \
+ -no-canonical-prefixes
TARGET_x86_release_CFLAGS := -O2 \
-g \