diff options
author | Bruno Thomsen <bruno.thomsen@gmail.com> | 2020-07-31 18:11:41 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-02 10:03:09 +0200 |
commit | 65cf88b8d62d632c658336836ed091a6e22fc272 (patch) | |
tree | 6a80808594952ff4052684c7698da2ca5c4f80f7 | |
parent | 25bfd9d1eeb0021e507095722dadac91a8b55c10 (diff) | |
download | ptxdist-65cf88b8d62d632c658336836ed091a6e22fc272.tar.gz ptxdist-65cf88b8d62d632c658336836ed091a6e22fc272.tar.xz |
chrony: make unrecognized configure options fatal
Add a little help for package maintainers to highlight
possible future issues.
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Message-Id: <20200731161141.6155-7-bruno.thomsen@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch | 25 | ||||
-rw-r--r-- | patches/chrony-3.5/series | 4 |
2 files changed, 29 insertions, 0 deletions
diff --git a/patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch b/patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch new file mode 100644 index 000000000..01f213633 --- /dev/null +++ b/patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch @@ -0,0 +1,25 @@ +From: Bruno Thomsen <bruno.thomsen@gmail.com> +Date: Fri, 31 Jul 2020 09:07:49 +0000 +Subject: [PATCH] configure: make unrecognized option a fatal error + +This helps catch cases where options has been removed +and are no longer valid. Including additional cross-build +options that cannot be used. + +Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com> +--- + configure | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure b/configure +index 323f5743cd57..080f7bce746d 100755 +--- a/configure ++++ b/configure +@@ -388,6 +388,7 @@ do + ;; + * ) + echo "Unrecognized option : " $option ++ exit 1 + esac + done + diff --git a/patches/chrony-3.5/series b/patches/chrony-3.5/series new file mode 100644 index 000000000..501972558 --- /dev/null +++ b/patches/chrony-3.5/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-configure-make-unrecognized-option-a-fatal-error.patch +# c182e03aeda3f8c148ae51d52f839a6a - git-ptx-patches magic |