summaryrefslogtreecommitdiffstats
path: root/core/combo/TARGET_linux-arm.mk
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2013-08-13 14:38:15 -0700
committerBen Cheng <bccheng@google.com>2013-08-13 14:52:31 -0700
commitaac3f81657b9111b3680c370083c01879612c443 (patch)
treeb12b911396c23dc6df156bbc34556aaec62af17f /core/combo/TARGET_linux-arm.mk
parent2863fa7a9650fa6df38da61329e2f49d5233c3df (diff)
downloadbuild-aac3f81657b9111b3680c370083c01879612c443.zip
build-aac3f81657b9111b3680c370083c01879612c443.tar.gz
build-aac3f81657b9111b3680c370083c01879612c443.tar.bz2
Prepare upcoming GCC 4.8 release.
o Add -Wno-unused-parameter -Wno-unused-but-set-parameter to suppress new warnings. o Define GCC_COLORS to enable colorful diagnostic messages. Change-Id: Icbd62300b0e6f39d4e514edec2431a06b4d72421 (cherry picked from internal commit ccd8e6082b5b1e519a75068fa6c887a1a85b53c4)
Diffstat (limited to 'core/combo/TARGET_linux-arm.mk')
-rw-r--r--core/combo/TARGET_linux-arm.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index 5319868..c31fe59 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -113,9 +113,10 @@ TARGET_GLOBAL_CFLAGS += $(TARGET_ANDROID_CONFIG_CFLAGS)
# We cannot turn it off blindly since the option is not available
# in gcc-4.4.x. We also want to disable sincos optimization globally
# by turning off the builtin sin function.
-ifneq ($(filter 4.6 4.6.% 4.7 4.7.%, $(TARGET_GCC_VERSION)),)
+ifneq ($(filter 4.6 4.6.% 4.7 4.7.% 4.8, $(TARGET_GCC_VERSION)),)
TARGET_GLOBAL_CFLAGS += -Wno-unused-but-set-variable -fno-builtin-sin \
- -fno-strict-volatile-bitfields
+ -fno-strict-volatile-bitfields \
+ -Wno-unused-parameter -Wno-unused-but-set-parameter
endif
# This is to avoid the dreaded warning compiler message: