INSTALL: set CC9 on macOS to use xcrun clang

Using plain 'clang' does not work well for the new devdraw on macOS 10.14.
But 'xcrun --sdk macosx clang' does work, for reasons no one understands.
Hopefully this will be OK on all macOS systems.
This commit is contained in:
Russ Cox 2018-11-15 20:34:32 -05:00
parent 7d43dde539
commit fe92b4a0b1

View file

@ -116,6 +116,7 @@ if [ `uname` = Darwin ]; then
*x86_64*)
echo " x86-64 found."
echo "OBJTYPE=x86_64" >>$PLAN9/config
echo "CC9='xcrun --sdk macosx clang'" >>$PLAN9/config
;;
*i386*)
echo " i386 found."