freebsd-ports/x11-toolkits/slingshot/files/patch-config.svr4
Cy Schubert dd60b07aef Fix build on i386 for lld.
This also works with ld.bfd.

PR:		214864
Reported by:	emaste@
2018-09-27 02:41:47 +00:00

13 lines
396 B
Text

--- config.svr4.orig Wed May 17 11:15:53 2006
+++ config.svr4 Wed May 17 11:19:04 2006
@@ -1,8 +1,8 @@
# @(#) config.svr4 1.7 92/10/27
-CONFIGPIC = -Kpic
+CONFIGPIC = -fPIC
-CONFIGSHAREDLIBLD = ld -G -o $@ -h libsspkg.so.1 $? -lm -lc;
+CONFIGSHAREDLIBLD = ld -G $? -o $@ -h libsspkg.so.1 -L/usr/lib -lm -lc --shared;
SHAREDLIB = $(LIBDIR)/libsspkg.so.1
CONFIGTARGETS = $(SHAREDLIB)