Commit 1640d74f61ccc4921e5d26ddfe7f3613f0221da4

  • avatar
  • Iain <qt-info @no…a.com>
  • Fri Sep 18 14:08:25 CEST 2009
Workaround for problems interworking RVCT-built s60main with GCCE apps

This is a workaround for the fact that removing --export_all_vtbl from
the RVCT command line seems to cause problems when linking the static
s60main lib with apps built with GCCE (at least 4.3, haven't tested
earlier versions)

The root cause still needs to be found and fixed, after which this
workaround can hopefully be removed.

Problem observed on Symbian^3 release, RVCT 2.2 build 686,
GCC-E 2009q1-162 release from CodeSourcery.

Reviewed-by: axis
  
106106load(qt_config)
107107load(platform_paths)
108108
109MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA = "OPTION_REPLACE ARMCC --export_all_vtbl // don't use --export_all_vtbl"
109110MMP_RULES += PAGED
110MMP_RULES += "OPTION_REPLACE ARMCC --export_all_vtbl // don't use --export_all_vtbl"
111MMP_RULES += $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
111112SYMBIAN_PLATFORMS = WINSCW GCCE ARMV5 ARMV6
112113
113114# Legacy support requires some hardcoded stdapis paths.
  
1212 CONFIG += hide_symbols
1313}
1414
15symbian {
16 # we don't care about exports from static libraries, as they don't end up in DEF files
17 MMP_RULES -= $$MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA
18}
19
1520!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)