Date: Fri, 11 Nov 2016 23:28:08 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r308563 - in head/lib: libgcc_eh libgcc_s Message-ID: <201611112328.uABNS831094712@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Fri Nov 11 23:28:07 2016 New Revision: 308563 URL: https://svnweb.freebsd.org/changeset/base/308563 Log: libcc_{s,eh}: build without SSP As in the gnu/lib/libgcc Makefile: libgcc is linked in last and thus cannot depend on ssp symbols coming from earlier libraries. Disable stack protection for this library. Reviewed by: dim Sponsored by: The FreeBSD Foundation Modified: head/lib/libgcc_eh/Makefile head/lib/libgcc_s/Makefile Modified: head/lib/libgcc_eh/Makefile ============================================================================== --- head/lib/libgcc_eh/Makefile Fri Nov 11 23:07:31 2016 (r308562) +++ head/lib/libgcc_eh/Makefile Fri Nov 11 23:28:07 2016 (r308563) @@ -5,6 +5,7 @@ PACKAGE= clibs LIB= gcc_eh NO_PIC= +MK_SSP= no WARNS?= 2 .include "Makefile.inc" Modified: head/lib/libgcc_s/Makefile ============================================================================== --- head/lib/libgcc_s/Makefile Fri Nov 11 23:07:31 2016 (r308562) +++ head/lib/libgcc_s/Makefile Fri Nov 11 23:28:07 2016 (r308563) @@ -4,6 +4,7 @@ PACKAGE= clibs SHLIB_NAME= libgcc_s.so.1 SHLIBDIR?= /lib +MK_SSP= no WARNS?= 2 LDFLAGS+= -nodefaultlibs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611112328.uABNS831094712>