1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

Add -fPIC to fix build on amd64

This commit is contained in:
Tilman Keskinoz 2003-11-21 15:46:48 +00:00
parent ed74dba3e1
commit da13b52472
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94659

View File

@ -1,5 +1,5 @@
--- makelibs.sh.orig Wed Mar 7 16:18:01 2001
+++ makelibs.sh Wed Mar 7 16:18:36 2001
--- makelibs.sh.orig Sat May 20 09:01:56 2000
+++ makelibs.sh Fri Nov 21 07:44:44 2003
@@ -9,23 +9,19 @@
LST="cfit complex fft geom intg matrix roots sfunc simu sort statf tseries util xarm"
MDR=`pwd`
@ -11,7 +11,7 @@
cd $MDR/$dr
echo `pwd`
- cc -c -O3 *.c
+ cc -c $CFLAGS *.c
+ cc -c $CFLAGS -fPIC *.c
mv *.o $LSOD
done
-if [ $F = "y" ]