Changeset View
Changeset View
Standalone View
Standalone View
lib/libclang_rt/Makefile.inc
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <bsd.compiler.mk> | .include <bsd.compiler.mk> | ||||
CRTSRC= ${SRCTOP}/contrib/llvm-project/compiler-rt | CRTSRC= ${SRCTOP}/contrib/llvm-project/compiler-rt | ||||
.include "compiler-rt-vars.mk" | .include "compiler-rt-vars.mk" | ||||
.PATH: ${CRTSRC}/lib | .PATH: ${CRTSRC}/lib | ||||
LIBDIR= ${SANITIZER_LIBDIR} | LIBDIR= ${SANITIZER_LIBDIR} | ||||
SHLIBDIR= ${LIBDIR} | SHLIBDIR= ${LIBDIR} | ||||
NO_PIC= | NO_PIC= | ||||
MK_PROFILE= no | MK_PROFILE= no | ||||
MK_ASAN:= no | |||||
MK_UBSAN:= no | |||||
markj: Is it necessary to use different assignment operators here for MK_PROFILE vs. MK_(A|UB)SAN? | |||||
Done Inline ActionsMost other places use := for MK_* assignments, I guess both work fine here. arichardson: Most other places use `:=` for MK_* assignments, I guess both work fine here. | |||||
WARNS?= 0 | WARNS?= 0 | ||||
SSP_CFLAGS= | SSP_CFLAGS= | ||||
CFLAGS+= -DNDEBUG | CFLAGS+= -DNDEBUG | ||||
CFLAGS+= -DHAVE_RPC_XDR_H=0 | CFLAGS+= -DHAVE_RPC_XDR_H=0 | ||||
CFLAGS+= -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 | CFLAGS+= -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 | ||||
CFLAGS+= -DUBSAN_CAN_USE_CXXABI | CFLAGS+= -DUBSAN_CAN_USE_CXXABI | ||||
Show All 14 Lines |
Is it necessary to use different assignment operators here for MK_PROFILE vs. MK_(A|UB)SAN?