diff -r 28b50d07f6f8 -r 710a3c8b516e make/linux/makefiles/gcc.make --- a/make/linux/makefiles/gcc.make Mon Sep 08 12:35:01 2014 -0700 +++ b/make/linux/makefiles/gcc.make Tue Aug 08 15:57:29 2017 +0800 @@ -22,6 +22,12 @@ # # +# +# This file has been modified by Loongson Technology in 2015. These +# modifications are Copyright (c) 2015 Loongson Technology, and are made +# available on the same license terms set forth above. +# + #------------------------------------------------------------------------ # CC, CXX & AS @@ -177,6 +183,7 @@ ARCHFLAG/sparc = -m32 -mcpu=v9 ARCHFLAG/sparcv9 = -m64 -mcpu=v9 ARCHFLAG/arm = -fsigned-char +ARCHFLAG/mips64 = -mabi=64 ARCHFLAG/zero = $(ZERO_ARCHFLAG) ifndef E500V2 ARCHFLAG/ppc = -mcpu=powerpc @@ -205,7 +212,8 @@ endif # Compiler warnings are treated as errors -WARNINGS_ARE_ERRORS = -Werror +#compiler disassembler_mips.cpp:193:"if WARNINGS_ARE_ERRORS =, here from error to warning ": deprecated conversion from string constant to 'char*' +#WARNINGS_ARE_ERRORS = -Werror ifeq ($(USE_CLANG), true) # However we need to clean the code up before we can unrestrictedly enable this option with Clang @@ -345,6 +353,7 @@ # Note: The Itanium gcc compiler crashes when using -gstabs. DEBUG_CFLAGS/ia64 = -g DEBUG_CFLAGS/amd64 = -g + DEBUG_CFLAGS/mips64 = -g DEBUG_CFLAGS/arm = -g DEBUG_CFLAGS/ppc = -g DEBUG_CFLAGS/ppc64 = -g @@ -361,6 +370,7 @@ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) FASTDEBUG_CFLAGS/ia64 = -g FASTDEBUG_CFLAGS/amd64 = -g + FASTDEBUG_CFLAGS/mips64 = -g FASTDEBUG_CFLAGS/arm = -g FASTDEBUG_CFLAGS/ppc = -g FASTDEBUG_CFLAGS/ppc64 = -g @@ -376,6 +386,7 @@ OPT_CFLAGS/ia64 = -g OPT_CFLAGS/amd64 = -g + OPT_CFLAGS/mips64 = -g OPT_CFLAGS/arm = -g OPT_CFLAGS/ppc = -g OPT_CFLAGS/ppc64 = -g