build: use -isysroot over --sysroot on macOS

This commit is contained in:
fanquake
2021-04-28 15:27:32 +08:00
parent fb66dbe786
commit cf971c9ea0
3 changed files with 7 additions and 7 deletions

View File

@ -56,7 +56,7 @@ Working macOS DMGs are created in Linux by combining a recent `clang`, the Apple
Apple uses `clang` extensively for development and has upstreamed the necessary
functionality so that a vanilla clang can take advantage. It supports the use of `-F`,
`-target`, `-mmacosx-version-min`, and `--sysroot`, which are all necessary when
`-target`, `-mmacosx-version-min`, and `-isysroot`, which are all necessary when
building for macOS.
Apple's version of `binutils` (called `cctools`) contains lots of functionality missing in the