11 CFLAGS+= -fvisibility=hidden
12 CFLAGS+= -DVISIBILITY_HIDDEN
13 CFLAGS+= -I${SRCTOP}/contrib/libcxxrt
15 # gcc has incompatible internal declarations for __divtc3 and __multc3, but has
16 # no option to silence its warning, so make warnings non-fatal.
19 .include "Makefile.inc"
21 .if ${MK_INSTALLLIB} != "no"
22 SYMLINKS+= libcompiler_rt.a ${LIBDIR}/libgcc.a
24 .if ${MK_PROFILE} != "no"
25 SYMLINKS+= libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a