summaryrefslogtreecommitdiffstats
path: root/core/config.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-25 23:13:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-25 23:13:13 +0000
commit876f45e73f938cdaa7cfc25c43822fc6b274f105 (patch)
tree3be14421d64ff2c5763b6778e115af106bd03e68 /core/config.mk
parent8389deee6b355f7dd6b1ff3579179414c6a41e5c (diff)
parent0c91fa84ff8e5f29dbe3a492fc7898eb1eb63b2a (diff)
downloadbuild-876f45e73f938cdaa7cfc25c43822fc6b274f105.zip
build-876f45e73f938cdaa7cfc25c43822fc6b274f105.tar.gz
build-876f45e73f938cdaa7cfc25c43822fc6b274f105.tar.bz2
Merge "Make some warnings impossible to override."
Diffstat (limited to 'core/config.mk')
-rw-r--r--core/config.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk
index 4ce525c..ecc8044 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -119,6 +119,12 @@ COMMON_RELEASE_CFLAGS:= -DNDEBUG -UDEBUG
COMMON_GLOBAL_CPPFLAGS:= $(COMMON_GLOBAL_CFLAGS) -Wsign-promo -std=gnu++11
COMMON_RELEASE_CPPFLAGS:= $(COMMON_RELEASE_CFLAGS)
+GLOBAL_CFLAGS_NO_OVERRIDE := \
+ -Werror=int-to-pointer-cast \
+ -Werror=pointer-to-int-cast \
+
+GLOBAL_CPPFLAGS_NO_OVERRIDE :=
+
# Set the extensions used for various packages
COMMON_PACKAGE_SUFFIX := .zip
COMMON_JAVA_PACKAGE_SUFFIX := .jar