ref: bf2742dee8a2719973b0f59fa049f9fe2aa08600
parent: 189b7adaaac1b4fc133c51c860ce47ca346d7058
author: cancel <cancel@cancel.fm>
date: Fri Nov 30 18:33:09 EST 2018
Fix -no-pie error on mac in build tool
--- a/tool
+++ b/tool
@@ -174,7 +174,7 @@
fi
if [[ $pie_enabled = 1 ]]; then
add cc_flags -pie -fpie -Wl,-pie
- else
+ elif [[ $os != mac ]]; then
add cc_flags -no-pie -fno-pie
fi
case "$1" in