[linux] Pass correct flags to clang on linux & warning fix

This commit is contained in:
MWM Planet Generator cdn3 2015-03-05 03:48:18 -08:00 committed by Alex Zolotarev
parent 5aafd57edb
commit 5865baabbf
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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 \