diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-12-29 23:07:14 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-12-29 23:46:25 +0300 |
| commit | 1314037cd7abb8e403deb0946ef9f553d0ccf903 (patch) | |
| tree | 7fad2f3c05766dcb9e3fa816e2acd6d84961806f | |
| parent | 0b8194043a40b7c19ccfc206f6f3ffea69f39ce3 (diff) | |
| download | tqt-fix/configure-compiler-posix.tar.gz tqt-fix/configure-compiler-posix.zip | |
configure: make compiler detection POSIX-compliantfix/configure-compiler-posix
The sed invocation previously introduced in 854c5d5c9 was using GNU
extensions.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1999,7 +1999,7 @@ fi # Check C++ standard support # Note: the commands work for both g++ and clang # ----------------------------------------------------------------------------- -COMPILER=`sed -n '/^\s*QMAKE_CXX\s*=\s*/{s///;s/\s*$//;p;q}' $QMAKESPEC/qmake.conf` +COMPILER=`sed -n 's,^QMAKE_CXX *= *\([^ ]*\).*,\1,p' $QMAKESPEC/qmake.conf` CXX_REQ_STD=17 CXX_REQ_STD_MACRO=201703L CXX_STD_FLAG="" |
