aboutsummaryrefslogtreecommitdiffstats
path: root/community/libkeyfinder/alpine-settings-to-pro.patch
blob: 36cfe6d93730b54d627dbb300c4501e988b4996f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -ur a/LibKeyFinder.pro b/LibKeyFinder.pro
--- a/LibKeyFinder.pro	2017-03-12 23:41:10.000000000 +0100
+++ b/LibKeyFinder.pro	2017-03-23 16:49:06.236738498 +0100
@@ -30,7 +30,8 @@
 VERSION = 2.2.0
 
 CONFIG += c++11
-QMAKE_CXXFLAGS += -std=c++11
+QMAKE_CXXFLAGS_RELEASE -= -O2
+QMAKE_CXXFLAGS += -std=c++11 -Os -fomit-frame-pointer
 
 DEFINES += LIBKEYFINDER_LIBRARY
 
diff -ur a/tests/tests.pro b/tests/tests.pro
--- a/tests/tests.pro	2017-03-23 16:47:17.280248215 +0100
+++ b/tests/tests.pro	2017-03-23 16:48:28.386799769 +0100
@@ -27,8 +27,9 @@
 CONFIG -= qt
 
 CONFIG += c++11
-LIBS += -stdlib=libc++
-QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++
+LIBS += -L..
+QMAKE_CXXFLAGS_RELEASE -= -O2
+QMAKE_CXXFLAGS += -std=c++11 -Os -fomit-frame-pointer
 
 LIBS += -lkeyfinder