openbsd-ports/security/libnettle/patches/patch-configure
ajacoutot ba8cb1bad6 Fix relocation errors on (at least) sparc64.
breakage reported by Markus Lude
2013-01-19 07:04:01 +00:00

15 lines
455 B
Plaintext

$OpenBSD: patch-configure,v 1.1 2013/01/19 07:04:01 ajacoutot Exp $
Fix relocation errors on (at least) sparc64.
--- configure.orig Sat Jan 19 07:57:58 2013
+++ configure Sat Jan 19 07:57:49 2013
@@ -4624,6 +4624,7 @@ else
bsdi4.*) CCPIC="-fPIC" ;;
bsdi*) CCPIC="" ;;
darwin*) CCPIC="-fPIC" ;;
+ openbsd*) CCPIC="-fPIC" ;;
# Could also use -fpic, depending on the number of symbol references
solaris*) CCPIC="-fPIC" ;;
cygwin*) CCPIC="" ;;