build: use -isysroot over --sysroot on macOS

This commit is contained in:
fanquake committed 2021-04-29 17:40:45 +08:00
1 parent fb66dbe786
commit cf971c9ea0
3 files changed
+7 -7

No files matched your search

+1 -1
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