comparison make/linux/makefiles/gcc.make @ 3307:250642c729b4

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 1d1603768966
children da0999c4b733
comparison
equal deleted inserted replaced
3306:405c634f4aaa 3307:250642c729b4
203 203
204 # Build shared library 204 # Build shared library
205 SHARED_FLAG = -shared 205 SHARED_FLAG = -shared
206 206
207 # Keep symbols even they are not used 207 # Keep symbols even they are not used
208 AOUT_FLAGS += -export-dynamic 208 AOUT_FLAGS += -Xlinker -export-dynamic
209 209
210 #------------------------------------------------------------------------ 210 #------------------------------------------------------------------------
211 # Debug flags 211 # Debug flags
212 212
213 # Use the stabs format for debugging information (this is the default 213 # Use the stabs format for debugging information (this is the default