hotspot/make/linux/makefiles/gcc.make
changeset 29474 81a5c5330d08
parent 29181 89beae49867c
child 29580 a67a581cfe11
equal deleted inserted replaced
29362:4188dc7f05a8 29474:81a5c5330d08
     1 #
     1 #
     2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.
     7 # published by the Free Software Foundation.
   174 ARCHFLAG/amd64   = -m64 $(STACK_ALIGNMENT_OPT)
   174 ARCHFLAG/amd64   = -m64 $(STACK_ALIGNMENT_OPT)
   175 ARCHFLAG/aarch64 =
   175 ARCHFLAG/aarch64 =
   176 ARCHFLAG/ia64    =
   176 ARCHFLAG/ia64    =
   177 ARCHFLAG/sparc   = -m32 -mcpu=v9
   177 ARCHFLAG/sparc   = -m32 -mcpu=v9
   178 ARCHFLAG/sparcv9 = -m64 -mcpu=v9
   178 ARCHFLAG/sparcv9 = -m64 -mcpu=v9
   179 ARCHFLAG/arm     =  -fsigned-char
       
   180 ARCHFLAG/zero    = $(ZERO_ARCHFLAG)
   179 ARCHFLAG/zero    = $(ZERO_ARCHFLAG)
   181 ifndef E500V2
       
   182 ARCHFLAG/ppc     =  -mcpu=powerpc
       
   183 endif
       
   184 ARCHFLAG/ppc64   =  -m64
   180 ARCHFLAG/ppc64   =  -m64
   185 
   181 
   186 CFLAGS     += $(ARCHFLAG)
   182 CFLAGS     += $(ARCHFLAG)
   187 AOUT_FLAGS += $(ARCHFLAG)
   183 AOUT_FLAGS += $(ARCHFLAG)
   188 LFLAGS     += $(ARCHFLAG)
   184 LFLAGS     += $(ARCHFLAG)
   189 ASFLAGS    += $(ARCHFLAG)
   185 ASFLAGS    += $(ARCHFLAG)
   190 
       
   191 ifdef E500V2
       
   192 CFLAGS += -DE500V2
       
   193 endif
       
   194 
   186 
   195 # Use C++ Interpreter
   187 # Use C++ Interpreter
   196 ifdef CC_INTERP
   188 ifdef CC_INTERP
   197   CFLAGS += -DCC_INTERP
   189   CFLAGS += -DCC_INTERP
   198 endif
   190 endif
   389 # Explicitly specify -fno-omit-frame-pointer because it is off by default
   381 # Explicitly specify -fno-omit-frame-pointer because it is off by default
   390 # starting with gcc 4.6.
   382 # starting with gcc 4.6.
   391 ifndef USE_SUNCC
   383 ifndef USE_SUNCC
   392   CFLAGS += -fno-omit-frame-pointer
   384   CFLAGS += -fno-omit-frame-pointer
   393 endif
   385 endif
       
   386 
       
   387 -include $(HS_ALT_MAKE)/linux/makefiles/gcc.make