OSDN Git Service

Remove arm-specific -Wno-psabi
authorDan Willemsen <dwillemsen@google.com>
Fri, 6 May 2016 22:50:19 +0000 (15:50 -0700)
committerDan Willemsen <dwillemsen@google.com>
Sat, 7 May 2016 00:08:24 +0000 (17:08 -0700)
This flag was added to stop a GCC 4.4 specific warning. Since we've
upgraded, this flag is no longer necessary. It's already stripped for
clang builds, and I found no instances in the logs after removing it.

Change-Id: If5316d2eb8066dc43d7af7aebc7e4920b4ada192

core/combo/TARGET_linux-arm.mk
core/combo/TARGET_linux-arm64.mk

index d89a2cf..9be6c73 100644 (file)
@@ -119,16 +119,6 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += -fno-builtin-sin \
                        -fno-strict-volatile-bitfields
 endif
 
-# 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.
-#
-$(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += -Wno-psabi
-
 $(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += \
                        -Wl,-z,noexecstack \
                        -Wl,-z,relro \
index 9ff4981..61028c4 100644 (file)
@@ -95,16 +95,6 @@ TARGET_GLOBAL_CFLAGS += \
 
 TARGET_GLOBAL_CFLAGS += -fno-strict-volatile-bitfields
 
-# 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 \
                        -Wl,-z,relro \