Correct toolchain issues

This commit is contained in:
Andrew Hyatt 2018-07-25 21:13:56 -04:00
parent 6958877450
commit c7ca964a96
No known key found for this signature in database
GPG Key ID: 5456D0F696719C24
4 changed files with 19 additions and 1 deletions

View File

@ -1 +1,7 @@
clang -target darwin "$@"
#!/bin/bash
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
clang -B $SCRIPTDIR -target darwin "$@"

View File

@ -1 +1,5 @@
#!/bin/bash
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
clang++ -target darwin "$@"

View File

@ -1 +1,3 @@
#!/bin/bash
llvm-dsymutil-6.0 "$@"

View File

@ -0,0 +1,6 @@
#!/bin/bash
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
LD="$SCRIPTDIR/../../../../../build/src/external/cctools-port/cctools/ld64/src/x86_64-apple-darwin11-ld"
"$LD" "$@"