summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-11 16:56:59 -0300
committerJames Almer <jamrial@gmail.com>2017-11-11 16:56:59 -0300
commitce726e77579363fffa3233a865025a6790c9f924 (patch)
tree8afc39eea140e17058e51ac67c1307dbd2709707
parent7e3d6f10f08ae8ce9c6720fb7041fd739aef9143 (diff)
parent0ca66409911e9fba940424be8bdfa54e056b0a4b (diff)
Merge commit '0ca66409911e9fba940424be8bdfa54e056b0a4b'
* commit '0ca66409911e9fba940424be8bdfa54e056b0a4b': configure: Don't add -fPIC to asflags when targeting windows Merged-by: James Almer <jamrial@gmail.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f1edf815cf..717ae61e24 100755
--- a/configure
+++ b/configure
@@ -5326,9 +5326,9 @@ enable_weak_pic() {
;;
*)
add_cflags -fPIC
+ add_asflags -fPIC
;;
esac
- add_asflags -fPIC
}
enabled pic && enable_weak_pic