Browse Source

valgrind: build without -fstack-protector if debug (#2153)

android-5
Henrik Grimler 7 years ago
committed by Fredrik Fornwall
parent
commit
e2235379ee
  1. 3
      packages/valgrind/build.sh

3
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
}

Loading…
Cancel
Save