< prev index next >

make/lib/CompileLibjsig.gmk

Print this page
rev 13541 : 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack.

*** 34,44 **** ifneq ($(OPENJDK_TARGET_OS), windows) ifeq ($(STATIC_BUILD), false) ifeq ($(OPENJDK_TARGET_OS), linux) LIBJSIG_CFLAGS := -fPIC -D_GNU_SOURCE -D_REENTRANT $(EXTRA_CFLAGS) ! LIBJSIG_LDFLAGS := $(LDFLAGS_HASH_STYLE) $(EXTRA_CFLAGS) LIBJSIG_LIBS := $(LIBDL) # NOTE: The old build compiled this library without -soname. # To emulate this, we need to clear out SET_SHARED_LIBRARY_NAME. SET_SHARED_LIBRARY_NAME := --- 34,44 ---- ifneq ($(OPENJDK_TARGET_OS), windows) ifeq ($(STATIC_BUILD), false) ifeq ($(OPENJDK_TARGET_OS), linux) LIBJSIG_CFLAGS := -fPIC -D_GNU_SOURCE -D_REENTRANT $(EXTRA_CFLAGS) ! LIBJSIG_LDFLAGS := $(LDFLAGS_HASH_STYLE) ${LDFLAGS_NO_EXEC_STACK} $(EXTRA_CFLAGS) LIBJSIG_LIBS := $(LIBDL) # NOTE: The old build compiled this library without -soname. # To emulate this, we need to clear out SET_SHARED_LIBRARY_NAME. SET_SHARED_LIBRARY_NAME :=
< prev index next >