1.1 --- a/make/linux/makefiles/gcc.make Sat Oct 06 10:25:04 2018 +0100 1.2 +++ b/make/linux/makefiles/gcc.make Thu Dec 27 11:43:33 2018 +0800 1.3 @@ -22,6 +22,12 @@ 1.4 # 1.5 # 1.6 1.7 +# 1.8 +# This file has been modified by Loongson Technology in 2015. These 1.9 +# modifications are Copyright (c) 2015 Loongson Technology, and are made 1.10 +# available on the same license terms set forth above. 1.11 +# 1.12 + 1.13 #------------------------------------------------------------------------ 1.14 # CC, CXX & AS 1.15 1.16 @@ -176,6 +182,7 @@ 1.17 ARCHFLAG/ia64 = 1.18 ARCHFLAG/sparc = -m32 -mcpu=v9 1.19 ARCHFLAG/sparcv9 = -m64 -mcpu=v9 1.20 +ARCHFLAG/mips64 = -mabi=64 1.21 ARCHFLAG/zero = $(ZERO_ARCHFLAG) 1.22 ARCHFLAG/ppc64 = -m64 1.23 1.24 @@ -197,7 +204,7 @@ 1.25 endif 1.26 1.27 # Compiler warnings are treated as errors 1.28 -WARNINGS_ARE_ERRORS = -Werror 1.29 +#WARNINGS_ARE_ERRORS = -Werror 1.30 1.31 ifeq ($(USE_CLANG), true) 1.32 # However we need to clean the code up before we can unrestrictedly enable this option with Clang