c0e685509d
* Wed Aug 19 2020 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.8.7-57 - Hardcode the compiler version in the build key once and for all It does not make sense to have to mess with the build key again and again at each GCC major version. GCC major versions no longer carry any ABI meaning as in the days of GCC 2.95 vs. 3.0. And nobody really uses a GCC older than 4.0 anymore. So we just hardcode the compiler version in the build key to "4". See also my corresponding Qt 3 patch from January 2019.
44 lines
1.1 KiB
Diff
44 lines
1.1 KiB
Diff
diff -ur qt-everywhere-opensource-src-4.8.7/configure qt-everywhere-opensource-src-4.8.7-hardcode-buildkey/configure
|
|
--- qt-everywhere-opensource-src-4.8.7/configure 2015-05-07 16:14:56.000000000 +0200
|
|
+++ qt-everywhere-opensource-src-4.8.7-hardcode-buildkey/configure 2020-08-19 23:43:10.792653485 +0200
|
|
@@ -7732,18 +7732,6 @@
|
|
canBuildQtXmlPatterns="no"
|
|
;;
|
|
*-g++*)
|
|
- # Check gcc's version
|
|
- case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
|
|
- 5*|4*|3.4*)
|
|
- ;;
|
|
- 3.3*)
|
|
- canBuildWebKit="no"
|
|
- ;;
|
|
- *)
|
|
- canBuildWebKit="no"
|
|
- canBuildQtXmlPatterns="no"
|
|
- ;;
|
|
- esac
|
|
;;
|
|
solaris-cc*)
|
|
# Check the compiler version
|
|
@@ -8043,19 +8031,7 @@
|
|
;;
|
|
esac
|
|
|
|
- case "$COMPILER_VERSION" in
|
|
- 2.95.*)
|
|
- COMPILER_VERSION="2.95.*"
|
|
- ;;
|
|
- 3.*)
|
|
- COMPILER_VERSION="3.*"
|
|
- ;;
|
|
- 5*|4.*)
|
|
- COMPILER_VERSION="4"
|
|
- ;;
|
|
- *)
|
|
- ;;
|
|
- esac
|
|
+ COMPILER_VERSION="4"
|
|
[ '!' -z "$COMPILER_VERSION" ] && COMPILER="g++-${COMPILER_VERSION}"
|
|
;;
|
|
icc*)
|