summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinr@coreboot.org>2018-08-27 07:05:59 -0600
committerMartin Roth <martinroth@google.com>2018-09-02 03:09:46 +0000
commitb7c0b8c8ee13bf4ae0736ddc1abc4f5a86d2a3ba (patch)
treebbd3bb262471c0b5817f006bc6c0b8b9f3a72910
parent6688f466a80878307bb7f1c1cf29724d3e5e849c (diff)
util/crossgcc: Add GCC 8.1 patch for missing backslash
When building the toolchain under BSDs, this missing backslash is needed. Change-Id: I40b0adaa73b241713493fd74f24c93f85e7aabbe Signed-off-by: Martin Roth <martinr@coreboot.org> Reviewed-on: https://review.coreboot.org/28362 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Idwer Vollering <vidwer@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--util/crossgcc/patches/gcc-8.1.0_bsd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/crossgcc/patches/gcc-8.1.0_bsd.patch b/util/crossgcc/patches/gcc-8.1.0_bsd.patch
new file mode 100644
index 0000000000..75b0b65772
--- /dev/null
+++ b/util/crossgcc/patches/gcc-8.1.0_bsd.patch
@@ -0,0 +1,12 @@
+diff -Naur gcc-8.1.0/gcc/ada/link.c gcc-8.1.0_/gcc/ada/link.c
+--- gcc-8.1.0/gcc/ada/link.c 2018-01-11 01:55:25.000000000 -0700
++++ gcc-8.1.0_/gcc/ada/link.c 2018-08-25 20:47:29.274166706 -0600
+@@ -104,7 +104,7 @@
+ const char *__gnat_default_libgcc_subdir = "lib";
+
+ #elif defined (__FreeBSD__) || defined (__DragonFly__) \
+- || defined (__NetBSD__) || defined (__OpenBSD__)
++ || defined (__NetBSD__) || defined (__OpenBSD__) \
+ || defined (__QNX__)
+ const char *__gnat_object_file_option = "-Wl,@";
+ const char *__gnat_run_path_option = "-Wl,-rpath,";