Don't pass -Wno-unused-local-typedefs on OS X.

OS X' gcc 4.0 (still used to be able building fat binaries) doesn't ignore that
option and instead errors out.

Change-Id: Id5927ff04dc606480af9add554eeaa75c169510f
This commit is contained in:
Dominik Riebeling 2013-06-09 19:45:16 +02:00
parent 33bda05469
commit 11280e20cc

View file

@ -157,7 +157,7 @@ dbg {
DEFINES += RBUTIL _LARGEFILE64_SOURCE DEFINES += RBUTIL _LARGEFILE64_SOURCE
# check version of Qt installation # check version of Qt installation
!contains(QT_MAJOR_VERSION, 5) { !contains(QT_MAJOR_VERSION, 5):!macx {
# suppress warnings in Qt 4.8 shown by gcc 4.8 # suppress warnings in Qt 4.8 shown by gcc 4.8
QMAKE_CXXFLAGS += -Wno-unused-local-typedefs QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
} }