datovka/datovka-fix-pro.patch

39 lines
835 B
Diff
Raw Normal View History

Index: datovka-4.1.0/datovka.pro
===================================================================
--- datovka-4.1.0.orig/datovka.pro
+++ datovka-4.1.0/datovka.pro
@@ -49,7 +49,6 @@ isEqual(QT_MAJOR_VERSION, $${REQUIRED_MA
#LIBISDS_PREFIX = "$$HOME/third_party/built"
DEFINES += \
- DEBUG=1 \
VERSION=\\\"$${VERSION}\\\"
unix:!macx {
@@ -124,8 +123,11 @@ unix:!macx {
}
}
-QMAKE_CXXFLAGS = \
- -g -O0 -std=c++11 \
+QMAKE_CXXFLAGS += \
+ -g -std=c++11 $$(CXXFLAGS) \
+ -Wall -Wextra -pedantic
+QMAKE_CFLAGS += \
+ -g $$(CFLAGS) \
-Wall -Wextra -pedantic
INCLUDEPATH += \
@@ -188,11 +190,6 @@ macx {
locale/datovka_en.qm
localisation.files += locale/qtbase_cs.qm
- additional.path = "Contents/Resources"
- additional.files = \
- AUTHORS \
- COPYING
-
QMAKE_BUNDLE_DATA +=\
localisation \
additional