[kde-freebsd] qmake vs gcc from ports
Andriy Gapon
avg at FreeBSD.org
Thu Jan 9 10:07:45 UTC 2014
on 09/01/2014 11:47 Alberto Villa said the following:
> 2014/1/9 Andriy Gapon <avg at freebsd.org>:
>> I have a head system with clang as a base compiler and no gcc in the base.
>> On the other hand, for reasons of my own, I have lang/gcc48 installed and use it
>> to build ports. This used to work quite well until r338902.
>>
>> Previously, there were spec files for freebsd-g++XY, e.g. freebsd-g++48.
>> Setting CXX to g++48 was sufficient to get the correct spec file.
>>
>> Now I see that there are only freebsd-g++ and freebsd-clang.
>
> Please, attach the output of `make -V CC CXX QMAKE_CC QMAKE_CXX`.
>
$ make -V CC -V CXX -V QMAKE_CC -V QMAKE_CXX
gcc48
g++48
$ make -V QMAKE_ARGS
QT_CONFIG+="release" QT_CONFIG-="debug separate_debug_info" -spec
/usr/local/share/qt4/mkspecs/freebsd-$(ccver="$(g++48 --version)"; case "$ccver"
in *clang*) echo clang ;; *) echo g++ ;; esac) QMAKE_CC="gcc48"
QMAKE_CXX="g++48" QMAKE_LINK_C="gcc48" QMAKE_LINK_C_SHLIB="gcc48"
QMAKE_LINK="g++48" QMAKE_LINK_SHLIB="g++48" QMAKE_CFLAGS="-O2 -pipe -O2
-fno-strict-aliasing -pipe -fno-omit-frame-pointer -march=amdfam10 "
QMAKE_CXXFLAGS="-O2 -pipe -O2 -fno-strict-aliasing -pipe -fno-omit-frame-pointer
-march=amdfam10 -O2 -fno-strict-aliasing -pipe " QMAKE_LFLAGS="
-Wl,-rpath=/usr/local/lib/gcc48 -L/usr/local/lib/gcc48
-Wl,-rpath=/usr/local/lib/gcc48 -L/usr/local/lib/gcc48" PREFIX="/usr/local"
CONFIG+="release" CONFIG-="debug separate_debug_info" -recursive
As far as I can see QMAKE_CC and QMAKE_CXX are not makefile variables.
--
Andriy Gapon
More information about the kde-freebsd
mailing list