hotspot/make/bsd/makefiles/vm.make
changeset 26851 f64f39a7ec7c
parent 26824 a04a1291103f
child 30764 fec48bf5a827
--- a/hotspot/make/bsd/makefiles/vm.make	Wed Sep 24 11:00:12 2014 +0200
+++ b/hotspot/make/bsd/makefiles/vm.make	Thu Sep 25 10:01:53 2014 +0200
@@ -272,6 +272,8 @@
     LFLAGS_VM += -Xlinker -rpath -Xlinker @loader_path/.
     LFLAGS_VM += -Xlinker -rpath -Xlinker @loader_path/..
     LFLAGS_VM += -Xlinker -install_name -Xlinker @rpath/$(@F)
+  else
+    LFLAGS_VM                += -Wl,-z,defs
   endif
 
   # JVM is statically linked with libgcc[_s] and libstdc++; this is needed to