crossgcc: fix compilation of acpica
Compilation of acpica-20120420 is broken (and old, but I'll take care
of that in a future patch),
let's fix that ("Building IASL 20120420 ... failed").
Change-Id: If5fd5cd93d748f78b7c059323f9f810666e32cc7
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-on: http://review.coreboot.org/1607
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 71f4e16..f71bf66 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -20,8 +20,8 @@
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
#
-CROSSGCC_DATE="November 1st, 2011"
-CROSSGCC_VERSION="1.07"
+CROSSGCC_DATE="October 23rd, 2012"
+CROSSGCC_VERSION="1.08"
# default settings
TARGETDIR=`pwd`/xgcc
diff --git a/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch b/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
index d1c954f..c027f17 100644
--- a/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
+++ b/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
@@ -1,6 +1,6 @@
---- acpica-unix-20120420/source/compiler/Makefile 2012-04-21 04:02:33.000000000 +0800
-+++ acpica-unix-20120420/source/compiler/Makefile 2012-08-08 18:06:11.000000000 +0800
-@@ -257,19 +257,12 @@
+--- acpica-unix-20120420/source/compiler/Makefile 2012-04-20 22:02:33.000000000 +0200
++++ acpica-unix-20120420.patched/source/compiler/Makefile 2012-10-21 00:30:38.634470788 +0200
+@@ -257,19 +257,11 @@
# gcc 4+ flags
#
CWARNINGFLAGS += \
@@ -14,10 +14,10 @@
- -Wmissing-parameter-type \
-Wnested-externs \
- -Wold-style-declaration \
- -Wold-style-definition \
+- -Wold-style-definition \
- -Wredundant-decls \
- -Wtype-limits
-+ -Wredundant-decls
++ -Wold-style-definition
#
# Bison/Flex configuration