jdk/make/common/Program.gmk
changeset 8796 604a43386301
parent 8583 15dea0fdc2ea
child 9035 1255eb81cc2f
child 9241 e77024585d01
--- a/jdk/make/common/Program.gmk	Wed Mar 16 12:16:00 2011 -0700
+++ b/jdk/make/common/Program.gmk	Wed Mar 16 18:54:50 2011 -0400
@@ -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