make/hotspot/lib/JvmFlags.gmk
branchihse-cflags-rewrite-branch
changeset 58665 30a5049a36bb
parent 56726 3a9b7a1f9197
parent 53717 f09d78e1fbfe
equal deleted inserted replaced
56900:d5d542d50e3c 58665:30a5049a36bb
    72   ifneq ($(HOTSPOT_DEBUG_LEVEL), optimized)
    72   ifneq ($(HOTSPOT_DEBUG_LEVEL), optimized)
    73     JVM_CFLAGS_DEBUGLEVEL := -DPRODUCT
    73     JVM_CFLAGS_DEBUGLEVEL := -DPRODUCT
    74   endif
    74   endif
    75 else ifeq ($(DEBUG_LEVEL), fastdebug)
    75 else ifeq ($(DEBUG_LEVEL), fastdebug)
    76   JVM_CFLAGS_DEBUGLEVEL := -DASSERT
    76   JVM_CFLAGS_DEBUGLEVEL := -DASSERT
    77   ifeq ($(filter $(OPENJDK_TARGET_OS), windows aix), )
    77   ifeq ($(call isTargetOs, windows aix), false)
    78     # NOTE: Old build did not define CHECK_UNHANDLED_OOPS on Windows and AIX.
    78     # NOTE: Old build did not define CHECK_UNHANDLED_OOPS on Windows and AIX.
    79     JVM_CFLAGS_DEBUGLEVEL += -DCHECK_UNHANDLED_OOPS
    79     JVM_CFLAGS_DEBUGLEVEL += -DCHECK_UNHANDLED_OOPS
    80   endif
    80   endif
    81 else ifeq ($(DEBUG_LEVEL), slowdebug)
    81 else ifeq ($(DEBUG_LEVEL), slowdebug)
    82   # _NMT_NOINLINE_ informs NMT that no inlining is done by the compiler
    82   # _NMT_NOINLINE_ informs NMT that no inlining is done by the compiler
    93 
    93 
    94 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
    94 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
    95 ifeq ($(USE_PRECOMPILED_HEADER), false)
    95 ifeq ($(USE_PRECOMPILED_HEADER), false)
    96   JVM_CFLAGS += -DDONT_USE_PRECOMPILED_HEADER
    96   JVM_CFLAGS += -DDONT_USE_PRECOMPILED_HEADER
    97 endif
    97 endif
       
    98 
       
    99 ifneq ($(HOTSPOT_OVERRIDE_LIBPATH), )
       
   100   JVM_CFLAGS += -DOVERRIDE_LIBPATH='"$(HOTSPOT_OVERRIDE_LIBPATH)"'
       
   101 endif