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>
This commit is contained in:
Martin Roth 2018-08-27 07:05:59 -06:00 committed by Martin Roth
parent 6688f466a8
commit b7c0b8c8ee
1 changed files with 12 additions and 0 deletions

View File

@ -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,";