Makefile (d006dde2fdfdf317c2215d0317480f661886a2f9) | Makefile (c8b5e3de39bcfa6833d4ab2980b0dddd30edbb74) |
---|---|
1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE= lib${LIB} 6LIB= compiler_rt 7NO_PIC= 8WARNS?= 2 9 10CFLAGS+= ${PICFLAG} 11CFLAGS+= -fvisibility=hidden 12CFLAGS+= -DVISIBILITY_HIDDEN 13CFLAGS+= -I${SRCTOP}/contrib/libcxxrt 14 | 1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE= lib${LIB} 6LIB= compiler_rt 7NO_PIC= 8WARNS?= 2 9 10CFLAGS+= ${PICFLAG} 11CFLAGS+= -fvisibility=hidden 12CFLAGS+= -DVISIBILITY_HIDDEN 13CFLAGS+= -I${SRCTOP}/contrib/libcxxrt 14 |
15.if ${COMPILER_TYPE} == "clang" 16CWARNFLAGS.gcc_personality_v0.c+= -Wno-typedef-redefinition 17.endif 18 | |
19# gcc has incompatible internal declarations for __divtc3 and __multc3, but has 20# no option to silence its warning, so make warnings non-fatal. 21NO_WERROR.gcc= 22 23.include "Makefile.inc" 24 25.if ${MK_INSTALLLIB} != "no" 26SYMLINKS+= libcompiler_rt.a ${LIBDIR}/libgcc.a 27.endif 28.if ${MK_PROFILE} != "no" 29SYMLINKS+= libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a 30.endif 31 32.include <bsd.lib.mk> | 15# gcc has incompatible internal declarations for __divtc3 and __multc3, but has 16# no option to silence its warning, so make warnings non-fatal. 17NO_WERROR.gcc= 18 19.include "Makefile.inc" 20 21.if ${MK_INSTALLLIB} != "no" 22SYMLINKS+= libcompiler_rt.a ${LIBDIR}/libgcc.a 23.endif 24.if ${MK_PROFILE} != "no" 25SYMLINKS+= libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a 26.endif 27 28.include <bsd.lib.mk> |