diff options
author | Dan Albert <danalbert@google.com> | 2015-02-21 12:45:26 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-02-23 10:05:51 -0800 |
commit | 0c91fa84ff8e5f29dbe3a492fc7898eb1eb63b2a (patch) | |
tree | 5a2023725c173669e583b31b2238026c4f75da10 /core/product.mk | |
parent | 0f672c6aad22dde39a172ae0b5f0b76068008f30 (diff) | |
download | build-0c91fa84ff8e5f29dbe3a492fc7898eb1eb63b2a.zip build-0c91fa84ff8e5f29dbe3a492fc7898eb1eb63b2a.tar.gz build-0c91fa84ff8e5f29dbe3a492fc7898eb1eb63b2a.tar.bz2 |
Make some warnings impossible to override.
These CFLAGS and CPPFLAGS will always be added last, and are
controlled by the build system. This way we can add warnings that
users are not allowed to disable.
Change-Id: Id71f69249078f62ca2687ecbf764aff0fd3a1c1b
Diffstat (limited to 'core/product.mk')
-rw-r--r-- | core/product.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/product.mk b/core/product.mk index 6bba6b8..ff65672 100644 --- a/core/product.mk +++ b/core/product.mk @@ -266,6 +266,10 @@ _product_stash_var_list += \ WITH_DEXPREOPT \ WITH_DEXPREOPT_BOOT_IMG_ONLY +_product_stash_var_list += \ + GLOBAL_CFLAGS_NO_OVERRIDE \ + GLOBAL_CPPFLAGS_NO_OVERRIDE \ + # # Stash values of the variables in _product_stash_var_list. # $(1): Renamed prefix |