freebsd-dev/lib/libcompiler_rt/Makefile
Jung-uk Kim d751009457 Remove an assembler flag, which is redundant since r309124. The upstream
took care of it by introducing a macro NO_EXEC_STACK_DIRECTIVE.

http://llvm.org/viewvc/llvm-project?rev=273500&view=rev

Reviewed by:	dim
2017-02-23 17:46:38 +00:00

29 lines
526 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
PACKAGE= lib${LIB}
LIB= compiler_rt
NO_PIC=
WARNS?= 2
CFLAGS+= ${PICFLAG}
CFLAGS+= -fvisibility=hidden
CFLAGS+= -DVISIBILITY_HIDDEN
CFLAGS+= -I${SRCTOP}/contrib/libcxxrt
.if ${COMPILER_TYPE} == "clang"
CWARNFLAGS.gcc_personality_v0.c+= -Wno-typedef-redefinition
.endif
.include "Makefile.inc"
.if ${MK_INSTALLLIB} != "no"
SYMLINKS+= libcompiler_rt.a ${LIBDIR}/libgcc.a
.endif
.if ${MK_PROFILE} != "no"
SYMLINKS+= libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a
.endif
.include <bsd.lib.mk>