Catch up bldprivate.hrh fix for "Missing files" in minigui ROM GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Fri, 23 Jul 2010 14:39:03 +0100
branchGCC_SURGE
changeset 99 27fa7531ea9d
parent 97 24635d54b10c (diff)
parent 98 1e9f58583b24 (current diff)
child 100 4851e97e5743
Catch up bldprivate.hrh fix for "Missing files" in minigui ROM
--- a/foundation_system/sf_config/config/inc/bldpublic.hrh	Fri Jul 23 14:37:59 2010 +0100
+++ b/foundation_system/sf_config/config/inc/bldpublic.hrh	Fri Jul 23 14:39:03 2010 +0100
@@ -2146,4 +2146,5 @@
 */
 #define __XDM_XCAP                                         
 
-#endif // __BLDPUBLIC_HRH 
\ No newline at end of file
+#endif // __BLDPUBLIC_HRH 
+
--- a/foundation_system/sf_config/sbs/s60_sbs_config.xml	Fri Jul 23 14:37:59 2010 +0100
+++ b/foundation_system/sf_config/sbs/s60_sbs_config.xml	Fri Jul 23 14:39:03 2010 +0100
@@ -21,7 +21,14 @@
 	<!-- gnu make -->
 	<alias name="make" meaning="make_engine.make_changes"/>
 
-	<var name="permissive">
-		<append name="CC_ERRORS_CONTROL_OPTION" value="-fpermissive"/>
+	<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="CPP_LANG_OPTION" value="-Wno-psabi"/>		            <!-- turn off " mangling of 'va_list' has changedin GCC 4.4" -->
+		<append name="CC_WARNINGS_CONTROL_OPTION" value="-Wno-attributes"/>		<!-- turn off warnings where IMPORT_C and EXPORT_C are *correctly* matched -->
+
+		<set name="AAPCS_OPTION" value="-mapcs-frame -mthumb-interwork"/>   <!-- use -mapcs-frame instead of -mapcs - see Bug 1405 -->
+		<set name="USER_STATIC_RUNTIME_LIB" value="usrt4_0.lib"/>        <!-- use the RVCT 4.0 version of the runtime support -->
+		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt4_0.lib"/>      <!-- use the RVCT 4.0 version of the runtime support -->
 	</var>
 </build>