forked from organicmaps/organicmaps
[linux] Pass correct flags to clang on linux & warning fix
This commit is contained in:
parent
5aafd57edb
commit
5865baabbf
2 changed files with 5 additions and 5 deletions
|
@ -147,13 +147,14 @@ tizen{
|
|||
|
||||
}
|
||||
|
||||
linux-g++* {
|
||||
linux-* {
|
||||
QMAKE_CFLAGS *= -fdata-sections -ffunction-sections
|
||||
QMAKE_CXXFLAGS *= -fdata-sections -ffunction-sections
|
||||
QMAKE_LFLAGS *= -Wl,--gc-sections -Wl,-Bsymbolic-functions
|
||||
QMAKE_CFLAGS_RELEASE *= -ffloat-store
|
||||
QMAKE_CXXFLAGS_RELEASE *= -ffloat-store
|
||||
|
||||
linux-g++* {
|
||||
QMAKE_CFLAGS_RELEASE *= -ffloat-store
|
||||
QMAKE_CXXFLAGS_RELEASE *= -ffloat-store
|
||||
}
|
||||
# debian build requirements
|
||||
CONFIG(production) {
|
||||
QMAKE_CFLAGS_RELEASE = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
|
||||
|
|
|
@ -39,7 +39,6 @@ HEADERS += \
|
|||
feature_merger.hpp \
|
||||
xml_element.hpp \
|
||||
osm_element.hpp \
|
||||
data_generator.hpp \
|
||||
feature_generator.hpp \
|
||||
first_pass_parser.hpp \
|
||||
data_cache_file.hpp \
|
||||
|
|
Loading…
Add table
Reference in a new issue