From: Dan Willemsen Date: Fri, 6 May 2016 22:50:19 +0000 (-0700) Subject: Remove arm-specific -Wno-psabi X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=db14f793bcddbb800cdddf8b921ccb41c01c2385;p=android-x86%2Fbuild.git Remove arm-specific -Wno-psabi 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 --- diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk index d89a2cf1e..9be6c735d 100644 --- a/core/combo/TARGET_linux-arm.mk +++ b/core/combo/TARGET_linux-arm.mk @@ -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 \ diff --git a/core/combo/TARGET_linux-arm64.mk b/core/combo/TARGET_linux-arm64.mk index 9ff49819d..61028c4fe 100644 --- a/core/combo/TARGET_linux-arm64.mk +++ b/core/combo/TARGET_linux-arm64.mk @@ -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 \