summaryrefslogtreecommitdiff
path: root/system/gcc/ada-shared.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/gcc/ada-shared.patch')
-rw-r--r--system/gcc/ada-shared.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/gcc/ada-shared.patch b/system/gcc/ada-shared.patch
index 6f1c16aff..22a7dc256 100644
--- a/system/gcc/ada-shared.patch
+++ b/system/gcc/ada-shared.patch
@@ -2,10 +2,10 @@ Index: b/gcc/ada/link.c
===================================================================
--- a/gcc/ada/link.c
+++ b/gcc/ada/link.c
-@@ -105,9 +105,9 @@
-
+@@ -107,9 +107,9 @@
#elif defined (__FreeBSD__)
const char *__gnat_object_file_option = "-Wl,@";
+ const char *__gnat_run_path_option = "";
-const char *__gnat_run_path_option = "-Wl,-rpath,";
-char __gnat_shared_libgnat_default = STATIC;
-char __gnat_shared_libgcc_default = STATIC;
@@ -15,10 +15,10 @@ Index: b/gcc/ada/link.c
int __gnat_link_max = 8192;
unsigned char __gnat_objlist_file_supported = 1;
const char *__gnat_object_library_extension = ".a";
-@@ -127,9 +127,9 @@
-
+@@ -129,9 +129,9 @@
#elif defined (linux) || defined(__GLIBC__)
const char *__gnat_object_file_option = "-Wl,@";
+ const char *__gnat_run_path_option = "";
-const char *__gnat_run_path_option = "-Wl,-rpath,";
-char __gnat_shared_libgnat_default = STATIC;
-char __gnat_shared_libgcc_default = STATIC;