~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
valgrind: build without -fstack-protector if debug (#2153)
[termux-packages]
/
packages
/
valgrind
/
build.sh
diff --git
a/packages/valgrind/build.sh
b/packages/valgrind/build.sh
index
a28b906
..
031b7f5
100644
(file)
--- a/
packages/valgrind/build.sh
+++ b/
packages/valgrind/build.sh
@@
-19,4
+19,7
@@
termux_step_pre_configure() {
# "valgrind uses inline assembly that is not Thumb compatible":
CFLAGS=${CFLAGS/-mthumb/}
fi
+ if [ "$TERMUX_DEBUG" == "true" ]; then
+ CFLAGS=${CFLAGS/-fstack-protector/}
+ fi
}