7041156: gcc 4.6 doesn't recognise -export-dynamic option

Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic

Reviewed-by: dsamersoff, dholmes
This commit is contained in:
Omair Majid 2011-05-03 18:24:55 +04:00 committed by Dmitry Samersoff
parent 50d82a0f69
commit d02acdc62a

View File

@ -205,7 +205,7 @@ SONAMEFLAG = -Xlinker -soname=SONAME
SHARED_FLAG = -shared
# Keep symbols even they are not used
AOUT_FLAGS += -export-dynamic
AOUT_FLAGS += -Xlinker -export-dynamic
#------------------------------------------------------------------------
# Debug flags