summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@google.com>2012-12-05 16:18:32 -0800
committerRonald G. Minnich <rminnich@gmail.com>2012-12-06 02:01:42 +0100
commit4266b92db06eae5c6aa3c8cc8eb2b873f40ecbba (patch)
tree1bfaa04778ff913c7d524c38c736a61d322b10e3 /util/crossgcc/patches
parent0f5caa26cb0b25ae452a14aedc71f5c137850a4e (diff)
downloadcoreboot-4266b92db06eae5c6aa3c8cc8eb2b873f40ecbba.tar.xz
crossgcc: Fix buildgcc on Mac OS X
Once again, the compiler we use on Mac OS X had trouble compiling GCC. Switch to llvm-gcc because that one works with Xcode 4.5.2 and gcc 4.7.2. Also drop the -W flags not known to Xcode from the iasl Makefile, and drop the --remove-destination option from the copy, because that does not exist on Darwin. Change-Id: I9f978f65b5ae7edee2ecdcab337772e7a692bd9b Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1967 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r--util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch20
-rw-r--r--util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch12
2 files changed, 32 insertions, 0 deletions
diff --git a/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch b/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch
new file mode 100644
index 0000000000..a4d55da18a
--- /dev/null
+++ b/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch
@@ -0,0 +1,20 @@
+diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config
+--- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-11-14 08:22:38.000000000 -0800
++++ acpica-unix-20121114/generate/unix/Makefile.config 2012-12-05 15:53:35.000000000 -0800
+@@ -135,15 +135,11 @@
+ -Waggregate-return \
+ -Wchar-subscripts \
+ -Wempty-body \
+- -Wlogical-op \
+ -Wmissing-declarations \
+ -Wmissing-field-initializers \
+- -Wmissing-parameter-type \
+ -Wnested-externs \
+- -Wold-style-declaration \
+ -Wold-style-definition \
+- -Wredundant-decls \
+- -Wtype-limits
++ -Wredundant-decls
+
+ #
+ # Extra warning flags (possible future use)
diff --git a/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch b/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch
new file mode 100644
index 0000000000..85a6f1b0fa
--- /dev/null
+++ b/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch
@@ -0,0 +1,12 @@
+diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config
+--- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-12-05 16:11:48.000000000 -0800
++++ acpica-unix-20121114/generate/unix/Makefile.config 2012-12-05 16:12:31.000000000 -0800
+@@ -57,7 +57,7 @@
+ #
+ COPYPROG = \
+ @mkdir -p ../$(BINDIR); \
+- cp --remove-destination $(PROG) ../$(BINDIR); \
++ cp $(PROG) ../$(BINDIR); \
+ echo "Copied $(PROG) to $(FINAL_PROG)";
+
+ #