summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/binutils.mk3
-rw-r--r--src/gcc-macos-10.6.patch13
2 files changed, 15 insertions, 1 deletions
diff --git a/src/binutils.mk b/src/binutils.mk
index 7e70a7a..1a01a5b 100644
--- a/src/binutils.mk
+++ b/src/binutils.mk
@@ -47,7 +47,8 @@ define $(PKG)_BUILD
--with-gnu-ld \
--with-gnu-as \
--disable-nls \
- --disable-shared
+ --disable-shared \
+ --disable-werror
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef
diff --git a/src/gcc-macos-10.6.patch b/src/gcc-macos-10.6.patch
new file mode 100644
index 0000000..01d7cfb
--- /dev/null
+++ b/src/gcc-macos-10.6.patch
@@ -0,0 +1,13 @@
+--- gcc-4.4.0-orig/gcc/cp/Make-lang.in 2009/09/09 08:14:36 151554
++++ gcc-4.4.0/gcc/cp/Make-lang.in 2009/09/09 08:46:32 151555
+@@ -72,8 +72,8 @@
+ # Shared with C front end:
+ CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \
+ c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \
+- incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
+- c-gimplify.o c-omp.o tree-inline.o
++ incpath.o c-ppoutput.o c-cppbuiltin.o prefix.o \
++ c-gimplify.o c-omp.o
+
+ # Language-specific object files for C++ and Objective C++.
+ CXX_AND_OBJCXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \