am 3e467785
: Remove irritating warnings about \'va_list\' mangling when building C++ sources.
Merge commit '3e4677856f0e16a732cecc15cafa7efde1f21241' into gingerbread-plus-aosp * commit '3e4677856f0e16a732cecc15cafa7efde1f21241': Remove irritating warnings about 'va_list' mangling when building C++ sources.
This commit is contained in:
committed by
Android Git Automerger
commit
b6bee6f171
@@ -104,6 +104,16 @@ TARGET_GLOBAL_CFLAGS += \
|
||||
-include $(android_config_h) \
|
||||
-I $(arch_include_dir)
|
||||
|
||||
# This is to avoid the dreaded warning compiler message:
|
||||
# note: the mangling of 'va_list' has changed in GCC 4.4
|
||||
#
|
||||
# The fact that the mangling changed does not affect the NDK ABI
|
||||
# very fortunately (since none of the exposed APIs used va_list
|
||||
# in their exported C++ functions). Also, GCC 4.5 has already
|
||||
# removed the warning from the compiler.
|
||||
#
|
||||
TARGET_GLOBAL_CFLAGS += -Wno-psabi
|
||||
|
||||
TARGET_GLOBAL_LDFLAGS += \
|
||||
-Wl,-z,noexecstack \
|
||||
$(arch_variant_ldflags)
|
||||
|
Reference in New Issue
Block a user