Fix r1.25

Pointyhat to:	me for testing different patch
This commit is contained in:
Max Brazhnikov 2011-07-01 20:02:37 +00:00
parent 5f1fe4cf3d
commit 98acbb9e18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276806

View file

@ -112,7 +112,7 @@ QMAKEFLAGS+= QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" \
#
# 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"
QMAKE_BASE_COMPILER= g++
.endif