qtwebkit: Disable debug info by default
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 26 Jun 2013 10:30:43 +0000 (12:30 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:44:46 +0000 (08:44 -0800)
(From meta-qt5 rev: 28753fa6aacd27ea3d7f429a44ff88fe26168249)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qtwebkit.inc

index a25820b..9c467dc 100644 (file)
@@ -7,6 +7,10 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md
 
 DEPENDS += "qtdeclarative qtlocation qtsensors ${ICU} ruby-native sqlite3"
 
+# qtwebkit gets terribly big when linking with all debug info, disable by default
+QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0"
+EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}"
+
 INC_PR = "r0"
 
 do_configure_append() {