[gcc][mac] Fixed unsupported compiler flag

This commit is contained in:
Alex Zolotarev 2011-10-06 00:56:32 +03:00 committed by Alex Zolotarev
parent 16568a93c1
commit acf087de92

View file

@ -102,8 +102,10 @@ win32-msvc2010 {
}
unix|win32-g++ {
QMAKE_CXXFLAGS_WARN_ON *= -Wno-sign-compare -Wno-strict-aliasing -Wconversion -Wno-unused-parameter \
-Wno-sign-conversion
QMAKE_CXXFLAGS_WARN_ON *= -Wno-sign-compare -Wno-strict-aliasing -Wconversion -Wno-unused-parameter
!*-g++42 {
QMAKE_CXXFLAGS_WARN_ON *= -Wno-sign-conversion
}
# experimental
QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CFLAGS_RELEASE += -O3