Added gcc 4.5 linux-only link time code optimizations

This commit is contained in:
Alex Zolotarev 2011-03-20 05:47:33 +01:00 committed by Alex Zolotarev
parent 46e5f82dc4
commit a3585d1b99

View file

@ -83,6 +83,14 @@ unix|win32-g++ {
QMAKE_CXXFLAGS_RELEASE *= -ffast-math
}
linux-g++-64 {
QMAKE_CC = gcc-4.5
QMAKE_CXX = g++-4.5
QMAKE_CFLAGS_RELEASE += -flto
QMAKE_CXXFLAGS_RELEASE += -flto
QMAKE_LFLAGS_RELEASE += -flto
}
win32-g++ {
QMAKE_CFLAGS *= -Wextra
QMAKE_CXXFLAGS *= -Wextra