Merge commit '3965d404ccd9b6cac95c4aee6cb668845031b685'

* commit '3965d404ccd9b6cac95c4aee6cb668845031b685':
  configure: Don't add -fPIC on windows targets

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-06-11 08:53:31 +02:00
commit 529ebc90f2

8
configure vendored
View File

@ -3716,7 +3716,13 @@ enable_weak_pic() {
disabled pic && return disabled pic && return
enable pic enable pic
add_cppflags -DPIC add_cppflags -DPIC
add_cflags -fPIC case "$target_os" in
mingw*|cygwin*)
;;
*)
add_cflags -fPIC
;;
esac
add_asflags -fPIC add_asflags -fPIC
} }