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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-10-03 05:11:59 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:25:03 +0300
commit1e40e08c61b59ec42a3728894f54c1ac37977bed (patch)
treea12a4f7f95d5d870488190856fac0d37a7da1eea /common.pri
parent8f57de60663b9d940ead618509021537eec8ac91 (diff)
[mac] Fixed build errors
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.pri b/common.pri
index 235b27fcd7..84f3e993dc 100644
--- a/common.pri
+++ b/common.pri
@@ -110,9 +110,6 @@ unix|win32-g++ {
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_CFLAGS_RELEASE *= -ffast-math
QMAKE_CXXFLAGS_RELEASE *= -ffast-math
- QMAKE_CFLAGS *= -fdata-sections -ffunction-sections
- QMAKE_CXXFLAGS *= -fdata-sections -ffunction-sections
- QMAKE_LFLAGS *= -Wl,--gc-sections
}
linux-g++* {
@@ -121,6 +118,9 @@ linux-g++* {
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
}
win32-g++ {