From 66a68f59e1d0944fbaf30f1ae638d72e24b3e208 Mon Sep 17 00:00:00 2001 From: cancel Date: Fri, 30 Nov 2018 20:49:32 +0900 Subject: [PATCH] Add def for disabling fortify if desired --- tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool b/tool index 6e76010..49ee70e 100755 --- a/tool +++ b/tool @@ -192,7 +192,7 @@ build_target() { build_subdir=release add cc_flags -DNDEBUG -O2 -g0 if [[ $protections_enabled != 1 ]]; then - add cc_flags -fno-stack-protector + add cc_flags -D_FORTIFY_SOURCE=0 -fno-stack-protector fi if [[ $os = mac ]]; then # todo some stripping option