From 392403b5c93e605756b903b04c72748a8794636c Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 23 Dec 2014 10:43:35 +0000 Subject: 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 --- gnu/lib/libssp/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu') 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 \ -- cgit v1.1