Blob Blame History Raw
--- quagga-0.98.5/ltmain.sh.pie	2005-10-18 23:03:50.000000000 -0400
+++ quagga-0.98.5/ltmain.sh	2005-10-18 23:04:05.000000000 -0400
@@ -723,7 +723,7 @@
 	command="$base_compile $srcfile $pic_flag"
       else
 	# Don't build PIC code
-	command="$base_compile $srcfile"
+	command="$base_compile $srcfile -fPIC"
       fi
 
       if test ! -d "${xdir}$objdir"; then
@@ -803,7 +803,7 @@
     if test "$build_old_libs" = yes; then
       if test "$pic_mode" != yes; then
 	# Don't build PIC code
-	command="$base_compile $srcfile"
+	command="$base_compile $srcfile -fPIC"
       else
 	command="$base_compile $srcfile $pic_flag"
       fi