aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'llvm-host-build.mk')
-rw-r--r--llvm-host-build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index afe6b4c..e8fd066 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -1,3 +1,5 @@
+LOCAL_CLANG := true
+
LOCAL_CFLAGS := \
-D_GNU_SOURCE \
-D__STDC_LIMIT_MACROS \
@@ -7,6 +9,7 @@ LOCAL_CFLAGS := \
-W \
-Wno-unused-parameter \
-Wwrite-strings \
+ -Dsprintf=sprintf \
$(LOCAL_CFLAGS)
ifeq ($(LLVM_ENABLE_ASSERTION),true)