configure: toolchain-tsan does not need -fPIE.
Fixes compilation with some kernel-gcc combinations: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308 Reported and analyzed by Gonzalo Garramuño.
This commit is contained in:
parent
9807d3976b
commit
a2317556ef
4
configure
vendored
4
configure
vendored
@ -3973,8 +3973,8 @@ case "$toolchain" in
|
|||||||
;;
|
;;
|
||||||
*-tsan)
|
*-tsan)
|
||||||
cc_default="${toolchain%-tsan}"
|
cc_default="${toolchain%-tsan}"
|
||||||
add_cflags -fsanitize=thread -fPIE
|
add_cflags -fsanitize=thread
|
||||||
add_ldflags -fsanitize=thread -pie
|
add_ldflags -fsanitize=thread
|
||||||
case "$toolchain" in
|
case "$toolchain" in
|
||||||
gcc-tsan)
|
gcc-tsan)
|
||||||
add_cflags -fPIC
|
add_cflags -fPIC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user