summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,";