diff options
author | Dan Albert <danalbert@google.com> | 2014-09-08 19:06:04 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-11-24 15:53:31 -0800 |
commit | bf0426f474bdb7dc4a79bb5e593991094f2caf50 (patch) | |
tree | c61fa9d929f7869aa8b6b0d5d213570db33d841d /CleanSpec.mk | |
parent | 7adbb466597a52873605b14950e70f3d2bc0f4c8 (diff) | |
download | build-bf0426f474bdb7dc4a79bb5e593991094f2caf50.zip build-bf0426f474bdb7dc4a79bb5e593991094f2caf50.tar.gz build-bf0426f474bdb7dc4a79bb5e593991094f2caf50.tar.bz2 |
Make gnu++11 the default standard version.
There are a _lot_ of users of `typeof` in the tree, and they'll need a
GNU flavored standard. Rather than fixing up all of these
individually, let's just use gnu++11 as the default.
Bug: 18466763
Change-Id: Ia1bd3adaa74fadba259fda3d37653fb8d5cff69a
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r-- | CleanSpec.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index 3e5d199..52a1b1f 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -310,6 +310,11 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop) +# Make GNU++11 the default standard version. This requires a cleanspec because +# char16_t/char32_t will be real types now instead of typedefs, which means +# an ABI change since the names will mangle differently. +$(call add-clean-step, rm -rf $(OUT_DIR)) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ |