jdk/make/common/Program.gmk
changeset 8835 71d383b902e9
parent 8796 604a43386301
child 9035 1255eb81cc2f
child 9241 e77024585d01
--- a/jdk/make/common/Program.gmk	Thu Mar 24 11:20:42 2011 -0700
+++ b/jdk/make/common/Program.gmk	Wed Jul 05 17:39:11 2017 +0200
@@ -83,7 +83,7 @@
 	endif
     endif
     ifeq ($(PLATFORM), linux)
-	LDFLAGS += -Wl,-z -Wl,origin
+	LDFLAGS += $(LDFLAG_Z_ORIGIN)
 	LDFLAGS += -Wl,--allow-shlib-undefined
 	LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../lib/$(LIBARCH)/jli
 	LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../jre/lib/$(LIBARCH)/jli