README: Reflect missing --getopt in configure
83760814f637 ("configure: Check for new-enough getopt") has replaced
proposed patch and doesn't introduce --getopt option in configure.
Instead, `configure` and `run_tests.sh` expect proper getopt to be
available in PATH.
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200924100613.71136-1-r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/README.macOS.md b/README.macOS.md
index 4ca5a57..62b00be 100644
--- a/README.macOS.md
+++ b/README.macOS.md
@@ -22,10 +22,14 @@
$ brew install x86_64-elf-gcc
```
-32-bit x86 tests can be built like that:
+Make enhanced getopt available in the current shell session:
+```
+export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
+```
+
+Then, 32-bit x86 tests can be built like that:
```
$ ./configure \
- --getopt=/usr/local/opt/gnu-getopt/bin/getopt \
--arch=i386 \
--cross-prefix=i686-elf-
$ make -j $(nproc)
@@ -34,7 +38,6 @@
64-bit x86 tests can be built likewise:
```
$ ./configure \
- --getopt=/usr/local/opt/gnu-getopt/bin/getopt \
--arch=x86_64 \
--cross-prefix=x86_64-elf-
$ make -j $(nproc)
@@ -71,7 +74,6 @@
Once compiled, the cross-compiler can be used to build the tests:
```
$ ./configure \
- --getopt=/usr/local/opt/gnu-getopt/bin/getopt \
--arch=x86_64 \
--cross-prefix=$X_INSTALL_DIR/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-
$ make -j $(nproc)