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:
1
INSTALL
1
INSTALL
@@ -116,6 +116,7 @@ if [ `uname` = Darwin ]; then
|
|||||||
*x86_64*)
|
*x86_64*)
|
||||||
echo " x86-64 found."
|
echo " x86-64 found."
|
||||||
echo "OBJTYPE=x86_64" >>$PLAN9/config
|
echo "OBJTYPE=x86_64" >>$PLAN9/config
|
||||||
|
echo "CC9='xcrun --sdk macosx clang'" >>$PLAN9/config
|
||||||
;;
|
;;
|
||||||
*i386*)
|
*i386*)
|
||||||
echo " i386 found."
|
echo " i386 found."
|
||||||
|
|||||||
Reference in New Issue
Block a user