aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
commit3d93b587480d68f7c97f1583c4c589bf50e0b158 (patch)
tree460d9081c8cddfaa15d34df720b0565c04758a26
parentc24c56583d9d5a98e3765a035bf5edbd549a42b2 (diff)
replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic where
appropriate. It seems that once upon a time -export_dynamic was a real flag. Now it means -e xport_dynamic, meaning set the entry symbol to xport_dynamic, giving this error message: /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000001b60 svn path=/trunk/externals/postlude/; revision=11724
-rwxr-xr-xdssi/makefile2
-rw-r--r--flib/makefile2
-rw-r--r--getpatchname/makefile2
-rw-r--r--knn/makefile2
-rw-r--r--psql/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/dssi/makefile b/dssi/makefile
index e87fe73..96511e6 100755
--- a/dssi/makefile
+++ b/dssi/makefile
@@ -30,7 +30,7 @@ LINUXINCLUDE = -I/usr/include -I./include
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/jsearch.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/jload.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/dssi~.c
- gcc -export_dynamic -shared -o $(NAME).pd_linux dssi~.o jload.o jsearch.o -lc -lm -llo
+ gcc --export-dynamic -shared -o $(NAME).pd_linux dssi~.o jload.o jsearch.o -lc -lm -llo
# strip --strip-unneeded $(NAME).pd_linux
cp $(NAME).pd_linux ~/pd-externals/
rm -f *.o
diff --git a/flib/makefile b/flib/makefile
index eef602d..817ed4b 100644
--- a/flib/makefile
+++ b/flib/makefile
@@ -149,7 +149,7 @@ LINUXINCLUDE = -I/usr/include
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/hca~.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/cc~.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c $*.c
- ld -export_dynamic -shared -o $(NAME).pd_linux $(NAME).o $(LINUXOBJECTS) -lc -lm
+ ld --export-dynamic -shared -o $(NAME).pd_linux $(NAME).o $(LINUXOBJECTS) -lc -lm
strip --strip-unneeded $(NAME).pd_linux
# ----------------------- IRIX 5.x -----------------------
diff --git a/getpatchname/makefile b/getpatchname/makefile
index 54e60c8..e507478 100644
--- a/getpatchname/makefile
+++ b/getpatchname/makefile
@@ -27,7 +27,7 @@ LINUXINCLUDE = -I/usr/include -I./include
.c.pd_linux:
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/$(NAME).c
- ld -export_dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc
+ ld --export-dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc
strip --strip-unneeded $(NAME).pd_linux
rm -f *.o
diff --git a/knn/makefile b/knn/makefile
index 849dfe1..a436016 100644
--- a/knn/makefile
+++ b/knn/makefile
@@ -72,7 +72,7 @@ LINUXINCLUDE = -I/usr/lib/pd/include/
.c.pd_linux:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -g -o $*.o -c $*.c
- ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
+ ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm $*.o
cp $*.pd_linux ../.
diff --git a/psql/Makefile b/psql/Makefile
index f4084e3..c1b6958 100644
--- a/psql/Makefile
+++ b/psql/Makefile
@@ -28,7 +28,7 @@ LINUXCFLAGS = -g -DPD -O0 -fPIC -funroll-loops -fomit-frame-pointer \
.c.pd_linux:
$(CC) $(LINUXCFLAGS) $(INCLUDE) -o $*.o -c $*.c
- $(CC) -export_dynamic -shared -o $*.pd_linux $*.o $(LDFLAGS)
+ $(CC) --export-dynamic -shared -o $*.pd_linux $*.o $(LDFLAGS)
strip --strip-unneeded $*.pd_linux
rm $*.o