make/linux/makefiles/vm.make

Print this page




  90 
  91 CXXFLAGS =           \
  92   ${SYSDEFS}         \
  93   ${INCLUDES}        \
  94   ${BUILD_VERSION}   \
  95   ${BUILD_TARGET}    \
  96   ${BUILD_USER}      \
  97   ${HS_LIB_ARCH}     \
  98   ${VM_DISTRO}
  99 
 100 # This is VERY important! The version define must only be supplied to vm_version.o
 101 # If not, ccache will not re-use the cache at all, since the version string might contain
 102 # a time and date. 
 103 CXXFLAGS/vm_version.o += ${JRE_VERSION}
 104 
 105 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
 106 
 107 # File specific flags
 108 CXXFLAGS += $(CXXFLAGS/BYFILE)
 109 




 110 
 111 ifndef JAVASE_EMBEDDED 
 112 ifneq (${ARCH},arm)
 113 CFLAGS += -DINCLUDE_TRACE
 114 endif
 115 endif
 116 
 117 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 118 CFLAGS += $(CFLAGS_WARN/BYFILE)
 119 
 120 # Do not use C++ exception handling
 121 CFLAGS += $(CFLAGS/NOEX)
 122 
 123 # Extra flags from gnumake's invocation or environment
 124 CFLAGS += $(EXTRA_CFLAGS)
 125 LFLAGS += $(EXTRA_CFLAGS)
 126 
 127 # Don't set excutable bit on stack segment
 128 # the same could be done by separate execstack command
 129 LFLAGS += -Xlinker -z -Xlinker noexecstack




  90 
  91 CXXFLAGS =           \
  92   ${SYSDEFS}         \
  93   ${INCLUDES}        \
  94   ${BUILD_VERSION}   \
  95   ${BUILD_TARGET}    \
  96   ${BUILD_USER}      \
  97   ${HS_LIB_ARCH}     \
  98   ${VM_DISTRO}
  99 
 100 # This is VERY important! The version define must only be supplied to vm_version.o
 101 # If not, ccache will not re-use the cache at all, since the version string might contain
 102 # a time and date. 
 103 CXXFLAGS/vm_version.o += ${JRE_VERSION}
 104 
 105 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
 106 
 107 # File specific flags
 108 CXXFLAGS += $(CXXFLAGS/BYFILE)
 109 
 110 # Large File Support
 111 ifneq ($(LP64), 1)
 112 CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64
 113 endif # ifneq ($(LP64), 1)
 114 
 115 ifndef JAVASE_EMBEDDED 
 116 ifneq (${ARCH},arm)
 117 CFLAGS += -DINCLUDE_TRACE
 118 endif
 119 endif
 120 
 121 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 122 CFLAGS += $(CFLAGS_WARN/BYFILE)
 123 
 124 # Do not use C++ exception handling
 125 CFLAGS += $(CFLAGS/NOEX)
 126 
 127 # Extra flags from gnumake's invocation or environment
 128 CFLAGS += $(EXTRA_CFLAGS)
 129 LFLAGS += $(EXTRA_CFLAGS)
 130 
 131 # Don't set excutable bit on stack segment
 132 # the same could be done by separate execstack command
 133 LFLAGS += -Xlinker -z -Xlinker noexecstack