diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-10 16:49:57 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-10 16:49:57 +0000 |
commit | bbc44800453426cf56b2c542851e6736559e3568 (patch) | |
tree | aa6cbdccd4afa9150c241407633e6dbc1273b356 | |
parent | d3c50085a9ca1bcd03ad416c17493bdb8b5ac5ce (diff) |
--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
-rw-r--r-- | Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
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) |