Changeset View
Changeset View
Standalone View
Standalone View
lib/libcompiler_rt/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
PACKAGE= lib${LIB} | PACKAGE= lib${LIB} | ||||
LIB= compiler_rt | LIB= compiler_rt | ||||
NO_PIC= | NO_PIC= | ||||
WARNS?= 2 | WARNS?= 2 | ||||
CFLAGS+= ${PICFLAG} | CFLAGS+= ${PICFLAG} | ||||
CFLAGS+= -fvisibility=hidden | CFLAGS+= -fvisibility=hidden | ||||
CFLAGS+= -DVISIBILITY_HIDDEN | CFLAGS+= -DVISIBILITY_HIDDEN | ||||
.if ${MK_LIBCXXABI} != "no" | |||||
#CFLAGS+= -I${SRCTOP}/contrib/libcxxabi/include | |||||
.else | |||||
CFLAGS+= -I${SRCTOP}/contrib/libcxxrt | CFLAGS+= -I${SRCTOP}/contrib/libcxxrt | ||||
.endif | |||||
.if ${COMPILER_TYPE} == "clang" | .if ${COMPILER_TYPE} == "clang" | ||||
CWARNFLAGS.gcc_personality_v0.c+= -Wno-typedef-redefinition | CWARNFLAGS.gcc_personality_v0.c+= -Wno-typedef-redefinition | ||||
.endif | .endif | ||||
# gcc has incompatible internal declarations for __divtc3 and __multc3, but has | # gcc has incompatible internal declarations for __divtc3 and __multc3, but has | ||||
# no option to silence its warning, so make warnings non-fatal. | # no option to silence its warning, so make warnings non-fatal. | ||||
NO_WERROR.gcc= | NO_WERROR.gcc= | ||||
Show All 11 Lines |