hotspot/make/linux/makefiles/vm.make
changeset 9406 e496a3f30199
parent 9133 1c8d07466fdb
child 10559 a94d067da388
equal deleted inserted replaced
9405:d2e9ee78c3c1 9406:e496a3f30199
    99 CFLAGS += $(CFLAGS/NOEX)
    99 CFLAGS += $(CFLAGS/NOEX)
   100 
   100 
   101 # Extra flags from gnumake's invocation or environment
   101 # Extra flags from gnumake's invocation or environment
   102 CFLAGS += $(EXTRA_CFLAGS)
   102 CFLAGS += $(EXTRA_CFLAGS)
   103 LFLAGS += $(EXTRA_CFLAGS)
   103 LFLAGS += $(EXTRA_CFLAGS)
       
   104 
       
   105 # Don't set excutable bit on stack segment
       
   106 # the same could be done by separate execstack command
       
   107 LFLAGS += -Xlinker -z -Xlinker noexecstack
   104 
   108 
   105 LIBS += -lm -ldl -lpthread
   109 LIBS += -lm -ldl -lpthread
   106 
   110 
   107 # By default, link the *.o into the library, not the executable.
   111 # By default, link the *.o into the library, not the executable.
   108 LINK_INTO$(LINK_INTO) = LIBJVM
   112 LINK_INTO$(LINK_INTO) = LIBJVM