< prev index next >

make/aix/makefiles/vm.make

Print this page
@  rev 8663 : 8205104: EXTRA_LDFLAGS not consistently being used
|  Summary: Add EXTRA_LDFLAGS to linker flags for relevant libraries.
~  Reviewed-by: duke


 100 
 101 # This is VERY important! The version define must only be supplied to vm_version.o
 102 # If not, ccache will not re-use the cache at all, since the version string might contain
 103 # a time and date.
 104 CXXFLAGS/vm_version.o += ${JRE_VERSION}
 105 
 106 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
 107 
 108 # File specific flags
 109 CXXFLAGS += $(CXXFLAGS/BYFILE)
 110 
 111 
 112 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 113 CFLAGS += $(CFLAGS_WARN/BYFILE)
 114 
 115 # Do not use C++ exception handling
 116 CFLAGS += $(CFLAGS/NOEX)
 117 
 118 # Extra flags from gnumake's invocation or environment
 119 CFLAGS += $(EXTRA_CFLAGS)
 120 LFLAGS += $(EXTRA_CFLAGS)
 121 
 122 # Don't set excutable bit on stack segment
 123 # the same could be done by separate execstack command
 124 #LFLAGS += -Xlinker -z -Xlinker noexecstack
 125 
 126 LIBS += -lm -ldl -lpthread
 127 
 128 # By default, link the *.o into the library, not the executable.
 129 LINK_INTO$(LINK_INTO) = LIBJVM
 130 
 131 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)
 132 
 133 #----------------------------------------------------------------------
 134 # jvm_db & dtrace
 135 include $(MAKEFILES_DIR)/dtrace.make
 136 
 137 #----------------------------------------------------------------------
 138 # JVM
 139 
 140 JVM      = jvm




 100 
 101 # This is VERY important! The version define must only be supplied to vm_version.o
 102 # If not, ccache will not re-use the cache at all, since the version string might contain
 103 # a time and date.
 104 CXXFLAGS/vm_version.o += ${JRE_VERSION}
 105 
 106 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
 107 
 108 # File specific flags
 109 CXXFLAGS += $(CXXFLAGS/BYFILE)
 110 
 111 
 112 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 113 CFLAGS += $(CFLAGS_WARN/BYFILE)
 114 
 115 # Do not use C++ exception handling
 116 CFLAGS += $(CFLAGS/NOEX)
 117 
 118 # Extra flags from gnumake's invocation or environment
 119 CFLAGS += $(EXTRA_CFLAGS)
 120 LFLAGS += $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)
 121 
 122 # Don't set excutable bit on stack segment
 123 # the same could be done by separate execstack command
 124 #LFLAGS += -Xlinker -z -Xlinker noexecstack
 125 
 126 LIBS += -lm -ldl -lpthread
 127 
 128 # By default, link the *.o into the library, not the executable.
 129 LINK_INTO$(LINK_INTO) = LIBJVM
 130 
 131 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)
 132 
 133 #----------------------------------------------------------------------
 134 # jvm_db & dtrace
 135 include $(MAKEFILES_DIR)/dtrace.make
 136 
 137 #----------------------------------------------------------------------
 138 # JVM
 139 
 140 JVM      = jvm


< prev index next >