pkgsrc/shells/bash/patches/patch-support_shobj-conf
2018-01-25 10:40:05 +00:00

15 lines
382 B
Text

$NetBSD: patch-support_shobj-conf,v 1.1 2018/01/25 10:40:06 jperkin Exp $
Spell -fPIC correctly.
--- support/shobj-conf.orig 2014-02-24 02:06:29.000000000 +0000
+++ support/shobj-conf
@@ -114,7 +114,7 @@ sunos5*-*gcc*|solaris2*-*gcc*)
;;
sunos5*|solaris2*)
- SHOBJ_CFLAGS='-K pic'
+ SHOBJ_CFLAGS='-fPIC'
SHOBJ_LD=/usr/ccs/bin/ld
SHOBJ_LDFLAGS='-G -dy -z text -i -h $@'