summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/ChangeLog5
-rw-r--r--src/util/makeshlib.sh3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/util/ChangeLog b/src/util/ChangeLog
index 1b0dc0dbb..4172777b8 100644
--- a/src/util/ChangeLog
+++ b/src/util/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 9 19:00:13 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * makeshlib.sh: For NetBSD convert flags designed for cc to ones
+ for ld.
+
Mon Oct 2 12:12:20 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* makeshlib.sh: For solaris, if you are not using gcc, add the -h
diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh
index 4caa55ecc..5a8fb7f8b 100644
--- a/src/util/makeshlib.sh
+++ b/src/util/makeshlib.sh
@@ -21,6 +21,9 @@ case $host in
do
sed -e "s;^;$i/shared/;" -e "s; ; $i/shared/;g" -e "s;^$i/shared/\$;;" $i/DONE
done`
+ # Hack to deal with the fact that with cc options are different
+ # from ld...
+ ldflags=`echo $ldflags |sed -e "s/-Wl,//g"`
echo ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist
ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist
stat=$?