summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-09-23 11:10:38 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-23 11:10:38 +0000
commitb6bd726843c647e01b91c1c8cfa00f3ecb83960c (patch)
treee0a09402df1360b04ea46cf3f34731538156eabe
parentb94a631fab00b834ac5aed2001f358bdcb311068 (diff)
Add MIPS to list of architectures requiring PIC flags.
Prior to gcc version 4.3 PIC was the default, now it needs to be enabled explicitly. Passing the flag to older gcc versions does not hurt. Originally committed as revision 15392 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c011275076..d1815484c4 100755
--- a/configure
+++ b/configure
@@ -1897,7 +1897,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