< prev index next >

make/linux/makefiles/vm.make

Print this page
@  rev 8952 : 8219772: EXTRA_CFLAGS not being picked up for assembler files
|  Reviewed-by: duke
~


 104 # a time and date.
 105 CXXFLAGS/vm_version.o += ${JRE_VERSION}
 106 
 107 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
 108 
 109 # File specific flags
 110 CXXFLAGS += $(CXXFLAGS/BYFILE)
 111 
 112 # Large File Support
 113 ifneq ($(LP64), 1)
 114 CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64
 115 endif # ifneq ($(LP64), 1)
 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) $(EXTRA_LDFLAGS)
 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
 130 
 131 LIBS += -lm -ldl -lpthread
 132 
 133 # By default, link the *.o into the library, not the executable.
 134 LINK_INTO$(LINK_INTO) = LIBJVM
 135 
 136 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)
 137 
 138 #----------------------------------------------------------------------
 139 # jvm_db & dtrace
 140 include $(MAKEFILES_DIR)/dtrace.make
 141 
 142 #----------------------------------------------------------------------
 143 # JVM




 104 # a time and date.
 105 CXXFLAGS/vm_version.o += ${JRE_VERSION}
 106 
 107 CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
 108 
 109 # File specific flags
 110 CXXFLAGS += $(CXXFLAGS/BYFILE)
 111 
 112 # Large File Support
 113 ifneq ($(LP64), 1)
 114 CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64
 115 endif # ifneq ($(LP64), 1)
 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 ASFLAGS += $(EXTRA_CFLAGS)
 125 CFLAGS += $(EXTRA_CFLAGS)
 126 LFLAGS += $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)
 127 
 128 # Don't set excutable bit on stack segment
 129 # the same could be done by separate execstack command
 130 LFLAGS += -Xlinker -z -Xlinker noexecstack
 131 
 132 LIBS += -lm -ldl -lpthread
 133 
 134 # By default, link the *.o into the library, not the executable.
 135 LINK_INTO$(LINK_INTO) = LIBJVM
 136 
 137 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)
 138 
 139 #----------------------------------------------------------------------
 140 # jvm_db & dtrace
 141 include $(MAKEFILES_DIR)/dtrace.make
 142 
 143 #----------------------------------------------------------------------
 144 # JVM


< prev index next >