diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 9ec4e896e7a5..0f42dd516c51 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -1,28 +1,29 @@ # $FreeBSD$ .include PACKAGE= lib${LIB} LIB= compiler_rt +MK_SSP= no NO_PIC= WARNS?= 2 CFLAGS+= ${PICFLAG} CFLAGS+= -fvisibility=hidden CFLAGS+= -DVISIBILITY_HIDDEN CFLAGS+= -I${SRCTOP}/contrib/libcxxrt # gcc has incompatible internal declarations for __divtc3 and __multc3, but has # no option to silence its warning, so make warnings non-fatal. NO_WERROR.gcc= .include "Makefile.inc" .if ${MK_INSTALLLIB} != "no" SYMLINKS+= libcompiler_rt.a ${LIBDIR}/libgcc.a .endif .if ${MK_PROFILE} != "no" SYMLINKS+= libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a .endif .include