From 1fddb14c4d0ee82ac66c89061e8a20932f961883 Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Wed, 10 Jun 2009 13:53:19 +0200 Subject: Fix "post linker error" with GCCE. Reviewed-by: Miikka Heikkinen --- tests/auto/qtablewidget/qtablewidget.pro | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/auto/qtablewidget/qtablewidget.pro b/tests/auto/qtablewidget/qtablewidget.pro index bcc82bd..d66d0ac 100644 --- a/tests/auto/qtablewidget/qtablewidget.pro +++ b/tests/auto/qtablewidget/qtablewidget.pro @@ -1,5 +1,16 @@ load(qttest_p4) SOURCES += tst_qtablewidget.cpp +# This prevents the GCCE compile failure: "elf2e32: Error 1063: Fatal Error in +# PostLinker." The paged statement is documented in the S60 docs. +symbian { + MMP_RULES -= PAGED + + custom_paged_rule = "$${LITERAL_HASH}ifndef GCCE"\ + "PAGED" \ + "$${LITERAL_HASH}endif" + MMP_RULES += custom_paged_rule +} + symbian:MMP_RULES += "OPTION GCCE -mlong-calls" -- cgit v0.12