From bbc44800453426cf56b2c542851e6736559e3568 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 10 Jun 2009 16:49:57 +0000 Subject: --export-dynamic needs to go to the linker, not the compiler, and LFLAGS here is sent to gcc, so append a -Wl, before it to make sure it goes to the linker svn path=/trunk/externals/miXed/; revision=11738 --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.common') diff --git a/Makefile.common b/Makefile.common index d185da3..6965dd2 100644 --- a/Makefile.common +++ b/Makefile.common @@ -35,7 +35,7 @@ default: define_build all ifeq ($(OS_NAME),Linux) X_SUFFIX = pd_linux CC = gcc -LFLAGS = --export-dynamic -shared +LFLAGS = -Wl,--export-dynamic -shared # FIXME strict-aliasing OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -fPIC ifeq ($(MY_NAME),krzYszcz) -- cgit v1.2.1