Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144329723
D43910.id134713.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
857 B
Referenced Files
None
Subscribers
None
D43910.id134713.diff
View Options
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -63,6 +63,11 @@
LDFLAGS+= -nodefaultlibs
LIBADD+= compiler_rt
LIBADD+= sys
+.if defined(COMPAT_libcompat)
+# XXX: work around gcc -m32 + bfd ld path issue for DT_NEEDED symbols.
+# https://sourceware.org/bugzilla/show_bug.cgi?id=31395
+LDFLAGS+= -Wl,--rpath=/usr/lib${COMPAT_libcompat}
+.endif
LDFLAGS+=-Wl,--auxiliary,libsys.so.7
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -8,6 +8,11 @@
SHLIBDIR?= /lib
LIBADD= c sys
+.if defined(COMPAT_libcompat)
+# XXX: work around gcc -m32 + bfd ld path issue for DT_NEEDED symbols.
+# https://sourceware.org/bugzilla/show_bug.cgi?id=31395
+LDFLAGS+= -Wl,--rpath=/usr/lib${COMPAT_libcompat}
+.endif
.include <src.opts.mk>
MK_SSP= no
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 9:24 PM (13 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28499460
Default Alt Text
D43910.id134713.diff (857 B)
Attached To
Mode
D43910: lib{c,sys}: move auxargs more firmly into libsys
Attached
Detach File
Event Timeline
Log In to Comment