aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-device-build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'llvm-device-build.mk')
-rw-r--r--llvm-device-build.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk
index 774d051..061384a 100644
--- a/llvm-device-build.mk
+++ b/llvm-device-build.mk
@@ -27,14 +27,13 @@ REQUIRES_EH := 0
endif
ifneq ($(REQUIRES_RTTI),1)
-LOCAL_CFLAGS += -fno-rtti
+LOCAL_CPPFLAGS += -fno-rtti
else
REQUIRES_RTTI := 0
endif
LOCAL_CPPFLAGS := \
$(LOCAL_CPPFLAGS) \
- $(LOCAL_CFLAGS) \
-Woverloaded-virtual
# Make sure bionic is first so we can include system headers.