view patches/rh676659-gcc-export-dynamic.patch @ 2139:83b15d0d30ff

RH676659: Pass -export-dynamic flag to linker using -Wl, as option in gcc 4.6+ is broken 2011-02-13 Andrew John Hughes <ahughes@redhat.com> * NEWS: Updated. 2011-02-11 Omair Majid <omajid@redhat.com> RH676659: Pass -export-dynamic option to linker not gcc. * Makefile.am: Add new patch. * patches/rh676659-gcc-export-dynamic.patch: Pass -Wl,-export-dynamic rather than -export-dynamic.
author Andrew John Hughes <ahughes@redhat.com>
date Sun, 13 Feb 2011 20:26:58 +0000
parents
children
line wrap: on
line source

diff -r 55b9f498dbce make/linux/makefiles/gcc.make
--- openjdk/hotspot/make/linux/makefiles/gcc.make	Thu Feb 10 16:24:29 2011 -0800
+++ openjdk/hotspot/make/linux/makefiles/gcc.make	Fri Feb 11 18:09:21 2011 -0500
@@ -196,7 +196,7 @@
 SHARED_FLAG = -shared
 
 # Keep symbols even they are not used
-AOUT_FLAGS += -export-dynamic
+AOUT_FLAGS += -Wl,-export-dynamic
 
 #------------------------------------------------------------------------
 # Debug flags