Title: [143452] trunk/Tools
Revision
143452
Author
abe...@webkit.org
Date
2013-02-20 04:36:45 -0800 (Wed, 20 Feb 2013)

Log Message

[Qt] Make debug builds possible on 32bit Linux
https://bugs.webkit.org/show_bug.cgi?id=110231

Reviewed by Tor Arne Vestbø.

Use the stabs format for debug builds to make the object files
a bit smaller so that they can be linked on a 32bit system.

* qmake/mkspecs/features/unix/default_post.prf:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (143451 => 143452)


--- trunk/Tools/ChangeLog	2013-02-20 12:33:20 UTC (rev 143451)
+++ trunk/Tools/ChangeLog	2013-02-20 12:36:45 UTC (rev 143452)
@@ -1,3 +1,15 @@
+2013-02-20  Andras Becsi  <andras.be...@digia.com>
+
+        [Qt] Make debug builds possible on 32bit Linux
+        https://bugs.webkit.org/show_bug.cgi?id=110231
+
+        Reviewed by Tor Arne Vestbø.
+
+        Use the stabs format for debug builds to make the object files
+        a bit smaller so that they can be linked on a 32bit system.
+
+        * qmake/mkspecs/features/unix/default_post.prf:
+
 2013-02-20  Takashi Toyoshima  <toyos...@chromium.org>
 
         Unreviewed. Add myself to watch lists.

Modified: trunk/Tools/qmake/mkspecs/features/unix/default_post.prf (143451 => 143452)


--- trunk/Tools/qmake/mkspecs/features/unix/default_post.prf	2013-02-20 12:33:20 UTC (rev 143451)
+++ trunk/Tools/qmake/mkspecs/features/unix/default_post.prf	2013-02-20 12:36:45 UTC (rev 143452)
@@ -10,6 +10,10 @@
 linux-g++*:isEqual(QT_ARCH,i386) {
     QMAKE_CFLAGS += -march=pentium4 -msse2 -mfpmath=sse
     QMAKE_CXXFLAGS += -march=pentium4 -msse2 -mfpmath=sse
+
+    # Use the stabs format for 32 bit debug builds to make the object files a bit smaller.
+    QMAKE_CXXFLAGS_DEBUG -= -g
+    QMAKE_CXXFLAGS_DEBUG += -gstabs
 }
 
 linux-*g++* {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to