From 1ec6d342cc8bac2a1d7d034b34571b328c4353d6 Mon Sep 17 00:00:00 2001 From: makc Date: Fri, 1 Jul 2011 20:02:37 +0000 Subject: Fix r1.25 Pointyhat to: me for testing different patch --- Mk/bsd.qt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mk') diff --git a/Mk/bsd.qt.mk b/Mk/bsd.qt.mk index 384c772dbc12..ecb58b5acb89 100644 --- a/Mk/bsd.qt.mk +++ b/Mk/bsd.qt.mk @@ -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 -- cgit