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:
emaste 2016-11-11 23:28:07 +00:00
parent d2cc2e52b4
commit c090f6f0c6
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