Fix build on i386 for lld.
This also works with ld.bfd. PR: 214864 Reported by: emaste@
This commit is contained in:
parent
4e292693bf
commit
dd60b07aef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480770
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user