summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-23 10:43:35 +0000
committerbapt <bapt@FreeBSD.org>2014-12-23 10:43:35 +0000
commit392403b5c93e605756b903b04c72748a8794636c (patch)
treedb8e59aa5c8442bd11d6be99ec1f157319c82a4a /gnu
parent23f146747747cc3ddbf2c9e91bbca815bf291668 (diff)
downloadFreeBSD-src-392403b5c93e605756b903b04c72748a8794636c.zip
FreeBSD-src-392403b5c93e605756b903b04c72748a8794636c.tar.gz
Fix build with recent binutils
Recent binutils considered the .gnu.warning.symbol section as a fatal error when run with --fatal-warnings which makes any users of "insecure" functions from libc failing to build with recent binutils. Introduce a new macro: LD_FATAL_WARNINGS=no to run ld(1) with --no-fatal-warnings for the users of "insecure" functions Differential Revision: https://reviews.freebsd.org/D1320
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libssp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libssp/Makefile b/gnu/lib/libssp/Makefile
index 6e89771..5a41298 100644
--- a/gnu/lib/libssp/Makefile
+++ b/gnu/lib/libssp/Makefile
@@ -15,6 +15,7 @@ SRCDIR= ${GCCLIB}/libssp
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 \
OpenPOWER on IntegriCloud