Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 02:41:48 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480770 - head/x11-toolkits/slingshot/files
Message-ID:  <201809270241.w8R2fm8F083167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Sep 27 02:41:47 2018
New Revision: 480770
URL: https://svnweb.freebsd.org/changeset/ports/480770

Log:
  Fix build on i386 for lld.
  
  This also works with ld.bfd.
  
  PR:		214864
  Reported by:	emaste@

Modified:
  head/x11-toolkits/slingshot/files/patch-config.svr4   (contents, props changed)

Modified: head/x11-toolkits/slingshot/files/patch-config.svr4
==============================================================================
--- head/x11-toolkits/slingshot/files/patch-config.svr4	Thu Sep 27 02:07:35 2018	(r480769)
+++ head/x11-toolkits/slingshot/files/patch-config.svr4	Thu Sep 27 02:41:47 2018	(r480770)
@@ -1,11 +1,13 @@
 --- config.svr4.orig	Wed May 17 11:15:53 2006
 +++ config.svr4	Wed May 17 11:19:04 2006
-@@ -1,7 +1,7 @@
+@@ -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 $? -lm -lc;
++CONFIGSHAREDLIBLD	= ld -G $? -o $@ -h libsspkg.so.1 -L/usr/lib -lm -lc --shared;
  
  SHAREDLIB		= $(LIBDIR)/libsspkg.so.1
+ CONFIGTARGETS		= $(SHAREDLIB)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809270241.w8R2fm8F083167>