aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-04-28 15:27:32 +0800
committerfanquake <fanquake@gmail.com>2021-04-29 17:40:45 +0800
commitcf971c9ea0e8637d36a7ab8b7b8804d9b89f1d9a (patch)
treeb4388d750af16692dea8761e4fa1ba33a218fdb0 /contrib
parentfb66dbe786ff3028d8f2b0be503ddd3b36541798 (diff)
build: use -isysroot over --sysroot on macOS
Diffstat (limited to 'contrib')
-rw-r--r--contrib/macdeploy/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md
index 2d9a4a2153..db99260eb9 100644
--- a/contrib/macdeploy/README.md
+++ b/contrib/macdeploy/README.md
@@ -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