]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Added missing switch for configure script --native to readme.
authorNathan Moinvaziri <nathan@nathanm.com>
Thu, 9 Jul 2020 01:55:13 +0000 (18:55 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 10 Jul 2020 13:51:05 +0000 (15:51 +0200)
README.md
configure

index 9324769c7a0626b910affffe7ae7ce81775b6f03..2faf026919b83ed98010bd686ef2e3bf3aaf0c69 100644 (file)
--- a/README.md
+++ b/README.md
@@ -107,20 +107,19 @@ make test
 
 Build Options
 -------------
-
-| CMake                    | configure                | Description                                                                                  | Default |
-|:-------------------------|:-------------------------|:---------------------------------------------------------------------------------------------|---------|
-| ZLIB_COMPAT              | --zlib-compat            | Compile with zlib compatible API                                                             | OFF     |
-| ZLIB_ENABLE_TESTS        |                          | Build test binaries                                                                          | ON      |
-| WITH_GZFILEOP            | --with-gzfileops         | Compile with support for gzFile related functions                                            | OFF     |
-| WITH_MSAN                | --with-msan              | Build with memory sanitizer                                                                  | OFF     |
-| WITH_OPTIM               | --without-optimizations  | Build with optimisations                                                                     | ON      |
-| WITH_NEW_STRATEGIES      | --without-new-strategies | Use new strategies                                                                           | ON      |
-| WITH_NATIVE_INSTRUCTIONS |                          | Instruct the compiler to use the full instruction set on this host (gcc/clang -march=native) | OFF     |
-| WITH_SANITIZERS          | --with-sanitizers        | Build with address sanitizer and all supported sanitizers other than memory sanitizer        | OFF     |
-| WITH_FUZZERS             | --with-fuzzers           | Build test/fuzz                                                                              | OFF     |
-| WITH_MAINTAINER_WARNINGS |                          | Build with project maintainer warnings                                                       | OFF     |
-| WITH_CODE_COVERAGE       |                          | Enable code coverage reporting                                                               | OFF     |
+| CMake                    | configure                | Description                                                                           | Default |
+|:-------------------------|:-------------------------|:--------------------------------------------------------------------------------------|---------|
+| ZLIB_COMPAT              | --zlib-compat            | Compile with zlib compatible API                                                      | OFF     |
+| ZLIB_ENABLE_TESTS        |                          | Build test binaries                                                                   | ON      |
+| WITH_GZFILEOP            | --with-gzfileops         | Compile with support for gzFile related functions                                     | OFF     |
+| WITH_MSAN                | --with-msan              | Build with memory sanitizer                                                           | OFF     |
+| WITH_OPTIM               | --without-optimizations  | Build with optimisations                                                              | ON      |
+| WITH_NEW_STRATEGIES      | --without-new-strategies | Use new strategies                                                                    | ON      |
+| WITH_NATIVE_INSTRUCTIONS | --native                 | Compiles with full instruction set supported on this host (gcc/clang -march=native)   | OFF     |
+| WITH_SANITIZERS          | --with-sanitizers        | Build with address sanitizer and all supported sanitizers other than memory sanitizer | OFF     |
+| WITH_FUZZERS             | --with-fuzzers           | Build test/fuzz                                                                       | OFF     |
+| WITH_MAINTAINER_WARNINGS |                          | Build with project maintainer warnings                                                | OFF     |
+| WITH_CODE_COVERAGE       |                          | Enable code coverage reporting                                                        | OFF     |
 
 Install
 -------
index 61637e51685afb0256bb413f768bf89e7fc90b12..457659027dbee6e001fe26cc4aa901a1c860c47e 100755 (executable)
--- a/configure
+++ b/configure
@@ -158,6 +158,7 @@ case "$1" in
       echo '    [--with-sanitizers]         Build with address sanitizer and all supported sanitizers other than memory sanitizer (disabled by default)' | tee -a configure.log
       echo '    [--with-msan]               Build with memory sanitizer (disabled by default)' | tee -a configure.log
       echo '    [--with-fuzzers]            Build test/fuzz (disabled by default)' | tee -a configure.log
+      echo '    [--native]                  Compiles with full instruction set supported on this host' | tee -a configure.log
         exit 0 ;;
     -p*=* | --prefix=*) prefix=`echo $1 | sed 's/.*=//'`; shift ;;
     -e*=* | --eprefix=*) exec_prefix=`echo $1 | sed 's/.*=//'`; shift ;;