Browse Source

Merge commit '3965d404ccd9b6cac95c4aee6cb668845031b685'

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

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
529ebc90f2
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      configure

+ 7
- 1
configure View File

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



Loading…
Cancel
Save