Commit 79e8b902 authored by diego's avatar diego

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15392 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8d840fd0
...@@ -1897,7 +1897,7 @@ if enabled shared; then ...@@ -1897,7 +1897,7 @@ if enabled shared; then
# LIBOBJFLAGS may have already been set in the OS configuration # LIBOBJFLAGS may have already been set in the OS configuration
if test -z "$LIBOBJFLAGS" ; then if test -z "$LIBOBJFLAGS" ; then
case "$arch" in case "$arch" in
x86_64|ia64|alpha|sparc*|power*|parisc*) LIBOBJFLAGS='$(PIC)' ;; x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;;
esac esac
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment