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:
parent
33bda05469
commit
11280e20cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue