From ff8cf11319e5327f45ece64fb4efbef7cf9229a4 Mon Sep 17 00:00:00 2001 From: dsamersoff Date: Tue, 3 May 2011 18:24:55 +0400 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/linux/makefiles/gcc.make b/make/linux/makefiles/gcc.make index d7537331e..fa9e29cb3 100644 --- a/make/linux/makefiles/gcc.make +++ b/make/linux/makefiles/gcc.make @@ -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 -- GitLab