Browse Source

Fix -no-pie error on mac in build tool

master
cancel 6 years ago
parent
commit
bf2742dee8
  1. 2
      tool

2
tool

@ -174,7 +174,7 @@ build_target() {
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

Loading…
Cancel
Save