hotspot/make/bsd/makefiles/gcc.make
changeset 33583 af842015bfaa
parent 30239 dc83236ebb28
child 33585 3121a0276778
equal deleted inserted replaced
32954:7db0663a5e96 33583:af842015bfaa
     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.
   183 endif
   183 endif
   184 ifeq ($(JVM_VARIANT_ZEROSHARK), true)
   184 ifeq ($(JVM_VARIANT_ZEROSHARK), true)
   185   CFLAGS += $(LIBFFI_CFLAGS)
   185   CFLAGS += $(LIBFFI_CFLAGS)
   186   CFLAGS += $(LLVM_CFLAGS)
   186   CFLAGS += $(LLVM_CFLAGS)
   187 endif
   187 endif
       
   188 
       
   189 ifeq ($(STATIC_BUILD),true)
       
   190 CXXFLAGS += -DSTATIC_BUILD
       
   191 CFLAGS += -DSTATIC_BUILD
       
   192 else
   188 CFLAGS += $(VM_PICFLAG)
   193 CFLAGS += $(VM_PICFLAG)
       
   194 endif
       
   195 
   189 CFLAGS += -fno-rtti
   196 CFLAGS += -fno-rtti
   190 CFLAGS += -fno-exceptions
   197 CFLAGS += -fno-exceptions
   191 ifeq ($(USE_CLANG),)
   198 ifeq ($(USE_CLANG),)
   192   CFLAGS += -pthread
   199   CFLAGS += -pthread
   193   CFLAGS += -fcheck-new
   200   CFLAGS += -fcheck-new