From ec84dd5b5584435ad5ef699cbe3ed9ef98e17463 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sat, 19 Dec 2009 22:18:27 +0100
Subject: fix busybox compile on MirBSD for qemu-arm target, from mirabilos

---
 toolchain/gcc/patches/mirbsd-compat.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 toolchain/gcc/patches/mirbsd-compat.patch

(limited to 'toolchain/gcc/patches')

diff --git a/toolchain/gcc/patches/mirbsd-compat.patch b/toolchain/gcc/patches/mirbsd-compat.patch
new file mode 100644
index 000000000..2f3ea0c87
--- /dev/null
+++ b/toolchain/gcc/patches/mirbsd-compat.patch
@@ -0,0 +1,12 @@
+diff -Nur gcc-4.4.2.orig/gcc/configure gcc-4.4.2/gcc/configure
+--- gcc-4.4.2.orig/gcc/configure	Tue Mar 24 18:45:39 2009
++++ gcc-4.4.2/gcc/configure	Sat Dec 19 21:07:07 2009
+@@ -19381,7 +19381,7 @@
+   dynamic_linker='ldqnx.so'
+   ;;
+ 
+-openbsd*)
++mirbsd*|openbsd*)
+   version_type=sunos
+   sys_lib_dlsearch_path_spec="/usr/lib"
+   need_lib_prefix=no
-- 
cgit v1.2.3