aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm-device-build.mk4
-rw-r--r--llvm-host-build.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk
index 156a39b..30baec0 100644
--- a/llvm-device-build.mk
+++ b/llvm-device-build.mk
@@ -27,9 +27,9 @@ endif
ifeq ($(LLVM_ENABLE_ASSERTION),true)
LOCAL_CFLAGS := \
+ $(LOCAL_CFLAGS) \
-D_DEBUG \
- -UNDEBUG \
- $(LOCAL_CFLAGS)
+ -UNDEBUG
endif
ifneq ($(REQUIRES_EH),1)
diff --git a/llvm-host-build.mk b/llvm-host-build.mk
index 67c3808..9fd7435 100644
--- a/llvm-host-build.mk
+++ b/llvm-host-build.mk
@@ -13,9 +13,9 @@ LOCAL_CFLAGS := \
ifeq ($(LLVM_ENABLE_ASSERTION),true)
LOCAL_CFLAGS := \
+ $(LOCAL_CFLAGS) \
-D_DEBUG \
- -UNDEBUG \
- $(LOCAL_CFLAGS)
+ -UNDEBUG
endif
ifneq ($(REQUIRES_EH),1)