Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMWM Planet Generator cdn3 <osm@cdn3.mapswithme.com>2015-03-05 14:48:18 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:38:15 +0300
commit5865baabbf4b4933fadd927e447ed56c7a2eb31d (patch)
treeb77fc702c1e1893274bb75db3144afaeacdd5240 /common.pri
parent5aafd57edbbe94a0ed430896f6f115ae9aa72f5e (diff)
[linux] Pass correct flags to clang on linux & warning fix
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri9
1 files changed, 5 insertions, 4 deletions
diff --git a/common.pri b/common.pri
index b888327ed0..bf69856499 100644
--- a/common.pri
+++ b/common.pri
@@ -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