On quinta-feira, 17 de março de 2016 17:14:45 PDT Samuel Gaist wrote: > > /usr/bin/clang++ -c -O3 -march=native -g -ffunction-sections -O2 -g -fPIC > > -std=c++11 [...] > > -I/Users/bertin/work/src/new/Qt/qt-everywhere-opensource-src-5.6.0/qtbase > > /mkspecs/macx-clang
> Hi, > > Looks like it's not using > > QMAKE_CXXFLAGS += -stdlib=libc++ > QMAKE_LFLAGS += -stdlib=libc++ > > However, why, I don't know. Seems impossible. 5.6's mkspecs/macx-clang/qmake.conf contains: include(../common/clang-mac.conf) And that file has: QMAKE_CXXFLAGS += -stdlib=libc++ QMAKE_LFLAGS += -stdlib=libc++ The hint is in that "-O3 -march=native" in the command-line. The only place where "-march=native" shows up in the Qt sources is part of ANGLE [*], which is never compiled on OS X. So I conclude that René has overwritten QMAKE_CXXFLAGS. [*] that's a bug -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest