make/solaris/makefiles/vm.make

Print this page




  78 
  79 CXXFLAGS =           \
  80   ${SYSDEFS}         \
  81   ${INCLUDES}        \
  82   ${BUILD_VERSION}   \
  83   ${BUILD_TARGET}    \
  84   ${BUILD_USER}      \
  85   ${HS_LIB_ARCH}     \
  86   ${VM_DISTRO}
  87 
  88 # This is VERY important! The version define must only be supplied to vm_version.o
  89 # If not, ccache will not re-use the cache at all, since the version string might contain
  90 # a time and date. 
  91 CXXFLAGS/vm_version.o += ${JRE_VERSION}
  92 
  93 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
  94 
  95 # File specific flags
  96 CXXFLAGS += $(CXXFLAGS/BYFILE)
  97 




  98 
  99 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 100 CFLAGS += $(CFLAGS_WARN)
 101 
 102 # Do not use C++ exception handling
 103 CFLAGS += $(CFLAGS/NOEX)
 104 
 105 # Extra flags from gnumake's invocation or environment
 106 CFLAGS += $(EXTRA_CFLAGS) -DINCLUDE_TRACE
 107 
 108 # Math Library (libm.so), do not use -lm.
 109 #    There might be two versions of libm.so on the build system:
 110 #    libm.so.1 and libm.so.2, and we want libm.so.1.
 111 #    Depending on the Solaris release being used to build with,
 112 #    /usr/lib/libm.so could point at a libm.so.2, so we are
 113 #    explicit here so that the libjvm.so you have built will work on an
 114 #    older Solaris release that might not have libm.so.2.
 115 #    This is a critical factor in allowing builds on Solaris 10 or newer
 116 #    to run on Solaris 8 or 9.
 117 #




  78 
  79 CXXFLAGS =           \
  80   ${SYSDEFS}         \
  81   ${INCLUDES}        \
  82   ${BUILD_VERSION}   \
  83   ${BUILD_TARGET}    \
  84   ${BUILD_USER}      \
  85   ${HS_LIB_ARCH}     \
  86   ${VM_DISTRO}
  87 
  88 # This is VERY important! The version define must only be supplied to vm_version.o
  89 # If not, ccache will not re-use the cache at all, since the version string might contain
  90 # a time and date. 
  91 CXXFLAGS/vm_version.o += ${JRE_VERSION}
  92 
  93 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
  94 
  95 # File specific flags
  96 CXXFLAGS += $(CXXFLAGS/BYFILE)
  97 
  98 # Large File Support
  99 ifneq ($(LP64), 1)
 100 CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64
 101 endif # ifneq ($(LP64), 1)
 102 
 103 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 104 CFLAGS += $(CFLAGS_WARN)
 105 
 106 # Do not use C++ exception handling
 107 CFLAGS += $(CFLAGS/NOEX)
 108 
 109 # Extra flags from gnumake's invocation or environment
 110 CFLAGS += $(EXTRA_CFLAGS) -DINCLUDE_TRACE
 111 
 112 # Math Library (libm.so), do not use -lm.
 113 #    There might be two versions of libm.so on the build system:
 114 #    libm.so.1 and libm.so.2, and we want libm.so.1.
 115 #    Depending on the Solaris release being used to build with,
 116 #    /usr/lib/libm.so could point at a libm.so.2, so we are
 117 #    explicit here so that the libjvm.so you have built will work on an
 118 #    older Solaris release that might not have libm.so.2.
 119 #    This is a critical factor in allowing builds on Solaris 10 or newer
 120 #    to run on Solaris 8 or 9.
 121 #