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.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm-device-build.mk b/llvm-device-build.mk
index d7c7e3d..6e008ca 100644
--- a/llvm-device-build.mk
+++ b/llvm-device-build.mk
@@ -6,7 +6,6 @@ LOCAL_CFLAGS := \
-DANDROID_TARGET_BUILD \
-O2 \
-fomit-frame-pointer \
- -Woverloaded-virtual \
-Wall \
-W \
-Wno-unused-parameter \
@@ -27,6 +26,11 @@ else
REQUIRES_RTTI := 0
endif
+LOCAL_CPPFLAGS := \
+ $(LOCAL_CPPFLAGS) \
+ $(LOCAL_CFLAGS) \
+ -Woverloaded-virtual
+
# Make sure bionic is first so we can include system headers.
LOCAL_C_INCLUDES := \
bionic \