forked from organicmaps/organicmaps-tmp
Added gcc 4.5 linux-only link time code optimizations
This commit is contained in:
parent
46e5f82dc4
commit
a3585d1b99
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue