ports/lang/pure/files/patch-configure

11 lines
276 B
Text

--- 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*) ;;