Hi,
I am building T2 projects on a SuSe 9.2 host, and a had to change the
file project to get it to build.
===================================================================
--- file.conf (revision 34043)
+++ file.conf (working copy)
@@ -13,3 +13,18 @@
# --- T2-COPYRIGHT-NOTE-END ---
[ "$SDECFG_STATIC" == "0" ] || var_append confopt ' ' '--enable-shared=no'
+
+#
+# when building on a non-T2 based host, we may have an older GCC during
stage 0
+# such is the case with Suse 9.2. The older compilers (GCC 3.X) do not
like
+# the -Wextra parameter in this project. to avoid this, kill the
warnings during
+# stage 0
+#
+if atstage toolchain; then
+ gcc_ver=`$CC -dumpversion 2> /dev/null`
+ case "$gcc_ver" in
+ 2.*) var_append confopt ' ' '--enable-warnings=no' ;;
+ 3.*) var_append confopt ' ' '--enable-warnings=no' ;;
+ *) ;;
+ esac
+fi
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2