Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112036701
D1320.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1320.diff
View Options
Index: head/gnu/lib/libssp/Makefile
===================================================================
--- head/gnu/lib/libssp/Makefile
+++ head/gnu/lib/libssp/Makefile
@@ -15,6 +15,7 @@
LIB= ssp
SHLIB_MAJOR= 0
+LD_FATAL_WARNINGS= no
SRCS= ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
Index: head/lib/libbsnmp/libbsnmp/Makefile
===================================================================
--- head/lib/libbsnmp/libbsnmp/Makefile
+++ head/lib/libbsnmp/libbsnmp/Makefile
@@ -9,6 +9,7 @@
LIB= bsnmp
SHLIB_MAJOR= 6
+LD_FATAL_WARNINGS= no
CFLAGS+= -I${CONTRIB} -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY
CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DQUADFMT='"llu"' -DQUADXFMT='"llx"'
Index: head/share/mk/bsd.lib.mk
===================================================================
--- head/share/mk/bsd.lib.mk
+++ head/share/mk/bsd.lib.mk
@@ -207,7 +207,12 @@
SOLINKOPTS= -shared -Wl,-x
.if !defined(ALLOW_SHARED_TEXTREL)
-SOLINKOPTS+= -Wl,--fatal-warnings -Wl,--warn-shared-textrel
+.if defined(LD_FATAL_WARNINGS) && ${LD_FATAL_WARNINGS} == "no"
+SOLINKOPTS+= -Wl,--no-fatal-warnings
+.else
+SOLINKOPTS+= -Wl,--fatal-warnings
+.endif
+SOLINKOPTS+= -Wl,--warn-shared-textrel
.endif
.if target(beforelinking)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 10:01 PM (7 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17126806
Default Alt Text
D1320.diff (1 KB)
Attached To
Mode
D1320: Fix buildworld with recent binutils
Attached
Detach File
Event Timeline
Log In to Comment