aboutsummaryrefslogtreecommitdiffstats
path: root/community/libkeyfinder/alpine-settings-to-pro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libkeyfinder/alpine-settings-to-pro.patch')
-rw-r--r--community/libkeyfinder/alpine-settings-to-pro.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/libkeyfinder/alpine-settings-to-pro.patch b/community/libkeyfinder/alpine-settings-to-pro.patch
new file mode 100644
index 0000000000..36cfe6d937
--- /dev/null
+++ b/community/libkeyfinder/alpine-settings-to-pro.patch
@@ -0,0 +1,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
+