changeset 9408:8bb4e957dea0

7041156: gcc 4.6 doesn't recognise -export-dynamic option Summary: Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic Reviewed-by: dsamersoff, dholmes Contributed-by: omajid@redhat.com
author dsamersoff
date Tue, 03 May 2011 18:24:55 +0400
parents c985006c2940
children f528237bc003 141aadbae618
files hotspot/make/linux/makefiles/gcc.make
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/make/linux/makefiles/gcc.make	Mon May 02 14:53:49 2011 -0700
+++ b/hotspot/make/linux/makefiles/gcc.make	Tue May 03 18:24:55 2011 +0400
@@ -205,7 +205,7 @@
 SHARED_FLAG = -shared
 
 # Keep symbols even they are not used
-AOUT_FLAGS += -export-dynamic
+AOUT_FLAGS += -Xlinker -export-dynamic
 
 #------------------------------------------------------------------------
 # Debug flags