svn commit: r330501 - head/deskutils/qrfcview

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Oct 17 19:23:00 UTC 2013


* Max Brazhnikov (makc at freebsd.org) wrote:

> I suppose your c++ is actually g++

It may be, it may be not. Anyway, if g++ shows itself in the build,
compiler is not respected. Another example:

% CC="ccache cc" CXX="ccache c++" make all clean 2>&1 | grep -- -c | head -1
g++ -c -O2 -pipe -march=nocona ...

with my qmake.mk patch:

% CC="ccache cc" CXX="ccache c++" make all clean 2>&1 | grep -- -c | head -1
ccache c++ -c -O2 -pipe -march=nocona ...

> > That's because QMAKEFLAGS contains QMAKE_CC and friends, but
> > QMAKE_ARGS from Uses/qmake.mk doesn't.
> 
> it doesn't need to: compiler is already respected via QMAKESPEC,
> QMAKE_CC, etc are redundant.

No, QMAKESPEC is just a bunch of hardcoded values - it respects nothing.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru    http://www.amdmi3.ru


More information about the svn-ports-all mailing list