freebsd-ports/devel/readline/files/support_shobj-conf.diff
Frank J. Laszlo cd0389f8a1 Change patch submitters email address per his request.
Approved by: flz (implicit)
2006-12-01 03:27:19 +00:00

14 lines
519 B
Diff

--- support/shobj-conf.orig Thu Nov 30 17:39:36 2006
+++ support/shobj-conf Thu Nov 30 17:42:35 2006
@@ -125,7 +125,10 @@
# FreeBSD-3.x ELF
freebsd[3-9]*|freebsdelf[3-9]*|freebsdaout[3-9]*|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}'
if [ -x /usr/bin/objformat ] && [ "`/usr/bin/objformat`" = "elf" ]; then