Tue, 03 May 2011 18:24:55 +0400
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
make/linux/makefiles/gcc.make | file | annotate | diff | comparison | revisions |
1.1 --- a/make/linux/makefiles/gcc.make Mon May 02 14:53:49 2011 -0700 1.2 +++ b/make/linux/makefiles/gcc.make Tue May 03 18:24:55 2011 +0400 1.3 @@ -205,7 +205,7 @@ 1.4 SHARED_FLAG = -shared 1.5 1.6 # Keep symbols even they are not used 1.7 -AOUT_FLAGS += -export-dynamic 1.8 +AOUT_FLAGS += -Xlinker -export-dynamic 1.9 1.10 #------------------------------------------------------------------------ 1.11 # Debug flags