11 CFLAGS+= -fvisibility=hidden
12 CFLAGS+= -DVISIBILITY_HIDDEN
13 CFLAGS+= -I${SRCTOP}/contrib/libcxxrt
15 .if ${COMPILER_TYPE} == "clang"
16 CWARNFLAGS.gcc_personality_v0.c+= -Wno-typedef-redefinition
19 # gcc has incompatible internal declarations for __divtc3 and __multc3, but has
20 # no option to silence its warning, so make warnings non-fatal.
23 .include "Makefile.inc"
25 .if ${MK_INSTALLLIB} != "no"
26 SYMLINKS+= libcompiler_rt.a ${LIBDIR}/libgcc.a
28 .if ${MK_PROFILE} != "no"
29 SYMLINKS+= libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a