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