For now, disable using -fsanitize=bounds for the libc ssp tests, when
using clang 3.5.0, until the runtime support (via compiler-rt) is added. Otherwise, this would lead to link errors about missing support libraries.
This commit is contained in:
parent
5ffe4e5562
commit
a4c4d4abcc
@ -9,7 +9,10 @@ WARNS?= 2
|
||||
|
||||
CFLAGS.h_raw+= -fstack-protector-all -Wstack-protector
|
||||
.if ${COMPILER_TYPE} == "clang"
|
||||
# Disable -fsanitize=bounds until runtime support is done for clang 3.5.0.
|
||||
.if ${COMPILER_VERSION} < 30500
|
||||
CFLAGS.h_raw+= -fsanitize=bounds
|
||||
.endif
|
||||
.elif ${COMPILER_TYPE} == "gcc"
|
||||
CFLAGS.h_raw+= --param ssp-buffer-size=1
|
||||
DPADD+= ${LIBSSP}
|
||||
|
Loading…
x
Reference in New Issue
Block a user