summaryrefslogtreecommitdiffstats
path: root/core/combo/TARGET_linux-mips.mk
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-11-15 10:25:58 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-11-15 10:25:58 +0800
commit8baaca5f97330a358de5633843af2b8bc51a28b1 (patch)
tree342f38173f645a76a80bc8474d66d19a96c5b4b0 /core/combo/TARGET_linux-mips.mk
parentde9b1835b3f3a025c2ab57154d0b5840469868f6 (diff)
downloadbuild-8baaca5f97330a358de5633843af2b8bc51a28b1.zip
build-8baaca5f97330a358de5633843af2b8bc51a28b1.tar.gz
build-8baaca5f97330a358de5633843af2b8bc51a28b1.tar.bz2
Switch AOSP X86/MIPS compiler to gcc4.8
Change-Id: Ifeee2c7d696c8a8e96e52c6ca51434260bdae5f8
Diffstat (limited to 'core/combo/TARGET_linux-mips.mk')
-rw-r--r--core/combo/TARGET_linux-mips.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/combo/TARGET_linux-mips.mk b/core/combo/TARGET_linux-mips.mk
index de7ca5c..ac5e914 100644
--- a/core/combo/TARGET_linux-mips.mk
+++ b/core/combo/TARGET_linux-mips.mk
@@ -35,7 +35,7 @@ TARGET_ARCH_VARIANT := mips32r2-fp
endif
ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
-TARGET_GCC_VERSION := 4.7
+TARGET_GCC_VERSION := 4.8
else
TARGET_GCC_VERSION := $(TARGET_GCC_VERSION_EXP)
endif
@@ -99,7 +99,7 @@ TARGET_GLOBAL_CFLAGS += $(TARGET_ANDROID_CONFIG_CFLAGS)
# This warning causes dalvik not to build with gcc 4.6+ and -Werror.
# We cannot turn it off blindly since the option is not available
# in gcc-4.4.x.
-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-strict-volatile-bitfields
endif