diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-12-29 23:07:14 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-12-30 14:51:55 +0300 |
| commit | c7a23a1e570b12c633b0e47c661935c36c038711 (patch) | |
| tree | 1086e1de559d9596ac07fd1fa2f0eb7296886c83 | |
| parent | 0b8194043a40b7c19ccfc206f6f3ffea69f39ce3 (diff) | |
| download | tqt-master.tar.gz tqt-master.zip | |
The sed invocation previously introduced in 854c5d5c9 was using `\s` for
space matching which is GNU extensions. This commit replaces it with
POSIX-compliant character class `[[:space:]]`.
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 '/^[[:space:]]*QMAKE_CXX[[:space:]]*=[[:space:]]*/ { s,,,; s,[[:space:]]*$,,; p; q; }' $QMAKESPEC/qmake.conf` CXX_REQ_STD=17 CXX_REQ_STD_MACRO=201703L CXX_STD_FLAG="" |
