summaryrefslogtreecommitdiff
path: root/lang/pure/files/patch-configure
blob: c30b6c04a4b736420bbf0f00662d2171213362e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	2014-10-28 20:55:49 UTC
+++ configure
@@ -7280,6 +7280,8 @@ LLVM_LDFLAGS=$($LLVMCONF --ldflags)
 # FIXME: this should be set based on a check
 PIC=
 case $host in
+*-*-dragonfly* | *-*-freebsd*)
+  PIC=-fPIC ;;
 *x86_64-*)
   case $host in
   *-darwin*) ;;