752362b0fa
Since libstdc++ builds on OS X and QNX 6.5 are no longer supported, simply require <initializer_list> and std::move in order to claim C++11 support works. The minimum OS X versions need to be fixed elsewhere. Change-Id: Ib056b47dde3341ef9a52ffff13ef1d2ac3923f5c Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
10 lines
344 B
Plaintext
10 lines
344 B
Plaintext
strict_c++|isEmpty(QMAKE_CXXFLAGS_GNUCXX11) {
|
|
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_CXX11
|
|
QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_CXXFLAGS_CXX11
|
|
QMAKE_LFLAGS += $$QMAKE_LFLAGS_CXX11
|
|
} else {
|
|
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_GNUCXX11
|
|
QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_CXXFLAGS_GNUCXX11
|
|
QMAKE_LFLAGS += $$QMAKE_LFLAGS_GNUCXX11
|
|
}
|