summaryrefslogtreecommitdiff
path: root/toolchain/newlib/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-04 01:56:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-04 01:56:00 +0100
commitf139fafceb3d6f6fc9211146b2bdea4af4508dac (patch)
tree9beab9d5a04dea711037aa0cbe4ee0cf41a55c01 /toolchain/newlib/patches
parent8de33755e0270fba7b9395e55dbf83668d65201c (diff)
riscv: start experimenting with riscv32 / newlib toolchain
Diffstat (limited to 'toolchain/newlib/patches')
-rw-r--r--toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch b/toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch
new file mode 100644
index 000000000..652f7494b
--- /dev/null
+++ b/toolchain/newlib/patches/riscv-newlib-2.4.0/fix-tooldir.patch
@@ -0,0 +1,12 @@
+diff -Nur newlib-2.2.0-1.orig/configure newlib-2.2.0-1/configure
+--- newlib-2.2.0-1.orig/configure 2014-07-05 23:09:07.000000000 +0200
++++ newlib-2.2.0-1/configure 2015-11-25 06:33:11.461178398 +0100
+@@ -6985,7 +6985,7 @@
+
+ # Some systems (e.g., one of the i386-aix systems the gas testers are
+ # using) don't handle "\$" correctly, so don't use it here.
+-tooldir='${exec_prefix}'/${target_noncanonical}
++tooldir='${exec_prefix}'
+ build_tooldir=${tooldir}
+
+ # Create a .gdbinit file which runs the one in srcdir