forked from organicmaps/organicmaps
[linux] Fixed build errors
This commit is contained in:
parent
64ebd99c4c
commit
b461c5a60f
2 changed files with 5 additions and 5 deletions
|
@ -117,11 +117,9 @@ unix|win32-g++ {
|
|||
}
|
||||
|
||||
linux-g++* {
|
||||
QMAKE_CC = gcc-4.5
|
||||
QMAKE_CXX = g++-4.5
|
||||
QMAKE_CFLAGS_RELEASE += -flto
|
||||
QMAKE_CXXFLAGS_RELEASE += -flto
|
||||
QMAKE_LFLAGS_RELEASE += -flto
|
||||
# QMAKE_CFLAGS_RELEASE += -flto
|
||||
# QMAKE_CXXFLAGS_RELEASE += -flto
|
||||
# QMAKE_LFLAGS_RELEASE += -flto
|
||||
QMAKE_CFLAGS *= -fdata-sections -ffunction-sections
|
||||
QMAKE_CXXFLAGS *= -fdata-sections -ffunction-sections
|
||||
QMAKE_LFLAGS *= -Wl,--gc-sections
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "platform.hpp"
|
||||
|
||||
#include "../base/logging.hpp"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue