--- src/qt/qtbase/configure.orig 2015-05-24 22:39:30.864797690 +0900 +++ src/qt/qtbase/configure 2015-08-29 19:51:35.227904574 +0900 @@ -2617,11 +2617,19 @@ ULTRIX:*) PLATFORM=ultrix-g++ ;; +# FreeBSD:10.[0-9]*) +# echo "=== ($UNAME_RELEASE) ===" +# PLATFORM=freebsd-clang +# ;; FreeBSD:*) - PLATFORM=freebsd-g++ + PLATFORM=freebsd-clang PLATFORM_NOTES=" - Also available for FreeBSD: freebsd-icc " + type g++ >/dev/null && PLATFORM=freebsd-g++ + type g++46 >/dev/null && PLATFORM=freebsd-g++46 + type g++48 >/dev/null && PLATFORM=freebsd-g++48 + type g++49 >/dev/null && PLATFORM=freebsd-g++49 ;; OpenBSD:*) PLATFORM=openbsd-g++ @@ -3971,6 +3979,7 @@ fi fi +export CXX="${CXX}" # detect availability of float math.h functions if compileTest unix/floatmath "floatmath"; then CFG_USE_FLOATMATH=yes @@ -5793,7 +5802,7 @@ ;; *-g++*) # Check gcc's version - case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in + case "$(${TEST_COMPILER} -dumpversion)" in 4*|3.4*) ;; 3.3*)