summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-tqt3/bp000-fix-build-key.diff
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-core/tde-tqt3/bp000-fix-build-key.diff')
-rw-r--r--arch/tde-core/tde-tqt3/bp000-fix-build-key.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/tde-core/tde-tqt3/bp000-fix-build-key.diff b/arch/tde-core/tde-tqt3/bp000-fix-build-key.diff
new file mode 100644
index 000000000..a0a0aa42e
--- /dev/null
+++ b/arch/tde-core/tde-tqt3/bp000-fix-build-key.diff
@@ -0,0 +1,21 @@
+commit 0d60417c83fd2bd8b6fccb6dd7171b113296860a
+Author: Slávek Banko <[email protected]>
+Date: Wed Sep 22 15:00:08 2021 +0200
+
+ Fix buildkey for GCC >= 7 if the version is listed including minor numbers.
+
+ Signed-off-by: Slávek Banko <[email protected]>
+
+diff --git a/configure b/configure
+index 92cec273..f021f563 100755
+--- a/configure
++++ b/configure
+@@ -2828,7 +2828,7 @@ g++*)
+ 3.*)
+ COMPILER_VERSION="3.*"
+ ;;
+- [1-9][0-9]|[7-9]|[4-6].*)
++ [1-9][0-9]|[1-9][0-9].*|[7-9]|[4-9].*)
+ COMPILER_VERSION="4.*"
+ ;;
+ *)