[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Proposed patch works



force-merge 498216 498647 498397
tags 498216 +patch
thanks

I can confirm the patch works as expected.


Thiemo
Since gcc-4.3 mips/mipsel needs an explicit PIC flag for shared library
code.

--- a/configure
+++ b/configure
@@ -1811,7 +1811,7 @@ if enabled shared; then
     # LIBOBJFLAGS may have already been set in the OS configuration
     if test -z "$LIBOBJFLAGS" ; then
         case "$arch" in
-            x86_64|ia64|alpha|sparc*|power*|parisc*) LIBOBJFLAGS='$(PIC)' ;;
+            x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;;
         esac
     fi
 fi

Reply to: