blob: 1606e7dad4c5caab93da5e9a799804e424437a90 (
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
|
Description: build s390, armel, mips* debugging symbols with -gstabs
-g exhausts memory on these arches. Thanks to Oswald Buddenhagen for the hint.
Author: Sune Vuorela <sune@debian.org>
Author: Modestas Vainius <modax@debian.org>
Bug-Debian: http://bugs.debian.org/528485
Bug-Debian: http://bugs.debian.org/618325
---
Source/WebKit.pri | 7 +++++++
1 file changed, 7 insertions(+)
--- a/Source/WebKit.pri
+++ b/Source/WebKit.pri
@@ -80,6 +80,13 @@ CONFIG(release, debug|release) {
DEFINES += NDEBUG
}
+equals(QT_ARCH, s390)|equals(QT_ARCH, arm)|equals(QT_ARCH, mips) {
+ message("s390, armel, armhf, mipsel workaround for QtWebkit: do not build with -g, but with -gstabs")
+ QMAKE_CXXFLAGS -= -g
+ QMAKE_CXXFLAGS += -gstabs
+}
+
+
INCLUDEPATH += \
$$PWD \
$$PWD/../include \
|