summaryrefslogtreecommitdiff
path: root/devel/readline/files/support_shobj-conf.diff
blob: c5b06c30ac6dce9b75373a93f72c7c5903c90d83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- support/shobj-conf.orig	2009-10-28 08:20:21.000000000 -0500
+++ support/shobj-conf	2010-04-21 19:51:48.000000000 -0500
@@ -147,7 +147,10 @@
 
 # FreeBSD-4.x and later have only ELF
 freebsd[4-9]*|freebsdelf*|dragonfly*)
-	SHOBJ_CFLAGS=-fPIC
+	# SHOBJ_CFLAGS=-fPIC
+	# This breaks shared lib linking with FreeBSD 6.2RC1/SPARC64 with
+	# gcc version 3.4.6 [FreeBSD] 20060305 - gcc bug?
+	# Submitted By: John Wood <john-freebsd@charpa.org>
 	SHOBJ_LD='${CC}'
 
 	SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'