浏览代码

add newlib patch

Waldemar Brodkorb 8 年之前
父节点
当前提交
35e145d8d1
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      toolchain/newlib/patches/2.4.0/fix-tooldir.patch

+ 12 - 0
toolchain/newlib/patches/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