foundation_system/sf_config/sbs/s60_sbs_config.xml
author William Roberts <williamr@symbian.org>
Tue, 22 Jun 2010 22:11:23 +0100
branchGCC_SURGE
changeset 63 d0c1ad0b5c53
parent 62 c4625721f596
child 64 01e93f67d69f
permissions -rw-r--r--
Move -Wno-invalid-offsetof to CPP_LANG_OPTION, because it's only for C++ CC_WARNINGS_CONTROL_OPTION is applied to both C and C++, causing a lot of new warnings

<?xml version="1.0" encoding="ISO-8859-1"?>

<build xmlns="http://symbian.com/xml/build"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://symbian.com/xml/build build/2_0.xsd">

	<!-- End-user overrides for existing build configurations for SBSv2 (aka Raptor).-->

	<!-- binding of FLM interfaces to certain build/makefile phase to ensure proper order of execution during build -->
	<var name="make_changes">
		<set name="bitmap.selector.iface" value="\.(bitmap|extension|mifconv|akniconinterfaces|removegtfiles|skingenerator|cryptoprep|builder|help_files|version_update)$"/>
		<set name="resource.selector.iface" value="\.(resource|extension|mif2cdlindex|nativejava|genericcopy)$"/>
		<set name="default.selector.iface" value="\.(?!export$|bitmap$|resource$|mifconv$|mif2cdlindex$|nativejava$|akniconinterfaces$|removegtfiles$|genericcopy$|skingenerator$|cryptoprep$|builder$|help_files$|version_update$).*$"/>
		<!-- 4.5 min -->
		<set name='TALON_TIMEOUT' value='540000'/> 
	</var>

	<!-- emake -->
	<alias name="emake" meaning="emake_engine.make_changes"/>  

	<!-- gnu make -->
	<alias name="make" meaning="make_engine.make_changes"/>

	<var name="surge">
		<append name="CPP_LANG_OPTION" value="-fpermissive"/>   <!-- downgrade "extra qualification XXX on member YYY" errors to warnings -->
		<append name="CPP_LANG_OPTION" value="-Wno-invalid-offsetof"/>		<!-- turn off "perhaps the 'offsetof' macro was used incorrectly" -->
		<append name="CC_WARNINGS_CONTROL_OPTION" value="-Wno-attributes"/>		<!-- turn off warnings where IMPORT_C and EXPORT_C are *correctly* matched -->
	</var>
</build>