1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00

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
This commit is contained in:
Ed Maste 2016-11-11 23:28:07 +00:00
parent f5dce90558
commit 2ed1e385b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308563
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
PACKAGE= clibs
LIB= gcc_eh
NO_PIC=
MK_SSP= no
WARNS?= 2
.include "Makefile.inc"

View File

@ -4,6 +4,7 @@ PACKAGE= clibs
SHLIB_NAME= libgcc_s.so.1
SHLIBDIR?= /lib
MK_SSP= no
WARNS?= 2
LDFLAGS+= -nodefaultlibs