make/linux/makefiles/gcc.make

changeset 9572
624a0741915c
parent 9516
359ded4897e9
parent 9448
73d689add964
     1.1 --- a/make/linux/makefiles/gcc.make	Sat Dec 15 09:57:22 2018 -0800
     1.2 +++ b/make/linux/makefiles/gcc.make	Thu Apr 04 17:56:29 2019 +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 @@ -201,7 +208,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

mercurial