summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/osx-cross-linker
blob: 79b22c6da5dd117f57a9e406f6b2686434b73f03 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

exec $MOZ_FETCHES_DIR/clang/bin/clang -v \
  -fuse-ld=$MOZ_FETCHES_DIR/cctools/bin/$TARGET-ld \
  -mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET:-10.12} \
  -target $TARGET \
  -B $MOZ_FETCHES_DIR/cctools/bin \
  -isysroot $MOZ_FETCHES_DIR/MacOSX11.3.sdk \
  "$@"