valgrind: build without -fstack-protector if debug (#2153)
This commit is contained in:
parent
71ff728d08
commit
8bf71e91bb
@ -19,4 +19,7 @@ termux_step_pre_configure() {
|
|||||||
# "valgrind uses inline assembly that is not Thumb compatible":
|
# "valgrind uses inline assembly that is not Thumb compatible":
|
||||||
CFLAGS=${CFLAGS/-mthumb/}
|
CFLAGS=${CFLAGS/-mthumb/}
|
||||||
fi
|
fi
|
||||||
|
if [ "$TERMUX_DEBUG" == "true" ]; then
|
||||||
|
CFLAGS=${CFLAGS/-fstack-protector/}
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user