1
0
Fork 0
forked from len0rd/rockbox

Fix compiling with MSVC.

MSVC doesn't understand the gcc specific -Wno-unused-local-typedefs option.
Don't add it in this case.

Change-Id: I7ffb6c0c9c797eaad85975199c386020c464ca7b
This commit is contained in:
Dominik Riebeling 2013-11-03 11:31:50 +01:00
parent 2b054e6135
commit 646f74937f

View file

@ -156,7 +156,7 @@ dbg {
DEFINES += RBUTIL _LARGEFILE64_SOURCE CUTELOGGER_STATIC DEFINES += RBUTIL _LARGEFILE64_SOURCE CUTELOGGER_STATIC
# check version of Qt installation # check version of Qt installation
!contains(QT_MAJOR_VERSION, 5):!macx { !contains(QT_MAJOR_VERSION, 5):!macx:!*-msvc* {
# 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
} }