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:
authorDarafei Praliaskouski <komzpa@gmail.com>2013-02-25 15:31:04 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:51:27 +0300
commit8bfb159f105fa08ec685834dc94fc3a73444ee03 (patch)
tree2bf2752fffaf78375134a968c1a58b68e0149899 /common.pri
parent7f546e8dad13d500338ba97e023e9ccce9a1ddb2 (diff)
linux debian buildflags
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri6
1 files changed, 5 insertions, 1 deletions
diff --git a/common.pri b/common.pri
index 75e356b324..390acf4218 100644
--- a/common.pri
+++ b/common.pri
@@ -4,7 +4,7 @@
# our own version variables
VERSION_MAJOR = 2
-VERSION_MINOR = 0
+VERSION_MINOR = 3
# qt's variable
VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}
@@ -125,6 +125,10 @@ unix|win32-g++ {
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_CFLAGS_RELEASE *= -ffast-math
QMAKE_CXXFLAGS_RELEASE *= -ffast-math
+
+ QMAKE_CFLAGS_RELEASE = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
+ QMAKE_CXXFLAGS_RELEASE = -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
+ QMAKE_LFLAGS = -Wl,-z,relro
}
linux-g++* {