shithub: orca

Download patch

ref: 66a68f59e1d0944fbaf30f1ae638d72e24b3e208
parent: 0c109b44863fe53908998dd56d2f8076bb6bd6d2
author: cancel <cancel@cancel.fm>
date: Fri Nov 30 15:49:32 EST 2018

Add def for disabling fortify if desired

--- a/tool
+++ b/tool
@@ -192,7 +192,7 @@
       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