From 11280e20cc8164f4dc9cbb66f66086e9950c03c6 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 9 Jun 2013 19:45:16 +0200 Subject: [PATCH] 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 --- rbutil/rbutilqt/rbutilqt.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro index 49d7a31ef8..6a40de6422 100644 --- a/rbutil/rbutilqt/rbutilqt.pro +++ b/rbutil/rbutilqt/rbutilqt.pro @@ -157,7 +157,7 @@ dbg { DEFINES += RBUTIL _LARGEFILE64_SOURCE # 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 QMAKE_CXXFLAGS += -Wno-unused-local-typedefs }