aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2018-11-15 20:34:32 -0500
committerRuss Cox <rsc@swtch.com>2018-11-15 20:39:35 -0500
commitfe92b4a0b1a8268238bce088cd081da9b802b465 (patch)
tree92505257a6f8f31f90d11267d1ad1ffd8f5cc70a /INSTALL
parent7d43dde539378fb5730df6ce961f7916f495746e (diff)
downloadplan9port-fe92b4a0b1a8268238bce088cd081da9b802b465.tar.gz
plan9port-fe92b4a0b1a8268238bce088cd081da9b802b465.tar.bz2
plan9port-fe92b4a0b1a8268238bce088cd081da9b802b465.zip
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.
Diffstat (limited to 'INSTALL')
-rwxr-xr-xINSTALL1
1 files changed, 1 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 282f900c..bfb7f657 100755
--- a/INSTALL
+++ b/INSTALL
@@ -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."