Fix r1.25
Pointyhat to: me for testing different patch
This commit is contained in:
parent
5f1fe4cf3d
commit
98acbb9e18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276806
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ QMAKEFLAGS+= QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" \
|
||||||
#
|
#
|
||||||
# Translate `c++` to its real name and select the appropriate mkspec.
|
# Translate `c++` to its real name and select the appropriate mkspec.
|
||||||
#
|
#
|
||||||
QMAKE_BASE_COMPILER!= cc --version | head -1 | sed -E 's/.+\(([^)]+)\).+/\1/' | cut -d " " -f 1
|
QMAKE_BASE_COMPILER!= cc --version 2> /dev/null | ${AWK} 'NR == 1 { gsub(/[()]/, "", $$2); print $$2 }'
|
||||||
.if ${QMAKE_BASE_COMPILER:L} == "gcc"
|
.if ${QMAKE_BASE_COMPILER:L} == "gcc"
|
||||||
QMAKE_BASE_COMPILER= g++
|
QMAKE_BASE_COMPILER= g++
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Reference in a new issue