diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-07-02 18:51:15 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:01 -0500 |
commit | 57b3454125ff268fb900c0d60b267535857bcd93 (patch) | |
tree | fb977ce1b0bdb0b6cbd6454809a86d1705277c8e /legacy/gcc6/ada-shared.patch | |
parent | 04142312762064baaf4765e13b479d9e03cfad47 (diff) | |
download | packages-57b3454125ff268fb900c0d60b267535857bcd93.tar.gz packages-57b3454125ff268fb900c0d60b267535857bcd93.tar.bz2 packages-57b3454125ff268fb900c0d60b267535857bcd93.tar.xz packages-57b3454125ff268fb900c0d60b267535857bcd93.zip |
legacy/gcc6: add buildable patches
Diffstat (limited to 'legacy/gcc6/ada-shared.patch')
-rw-r--r-- | legacy/gcc6/ada-shared.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/legacy/gcc6/ada-shared.patch b/legacy/gcc6/ada-shared.patch new file mode 100644 index 000000000..6f1c16aff --- /dev/null +++ b/legacy/gcc6/ada-shared.patch @@ -0,0 +1,30 @@ +Index: b/gcc/ada/link.c +=================================================================== +--- a/gcc/ada/link.c ++++ b/gcc/ada/link.c +@@ -105,9 +105,9 @@ + + #elif defined (__FreeBSD__) + const char *__gnat_object_file_option = "-Wl,@"; +-const char *__gnat_run_path_option = "-Wl,-rpath,"; +-char __gnat_shared_libgnat_default = STATIC; +-char __gnat_shared_libgcc_default = STATIC; ++const char *__gnat_run_path_option = ""; ++char __gnat_shared_libgnat_default = SHARED; ++char __gnat_shared_libgcc_default = SHARED; + int __gnat_link_max = 8192; + unsigned char __gnat_objlist_file_supported = 1; + const char *__gnat_object_library_extension = ".a"; +@@ -127,9 +127,9 @@ + + #elif defined (linux) || defined(__GLIBC__) + const char *__gnat_object_file_option = "-Wl,@"; +-const char *__gnat_run_path_option = "-Wl,-rpath,"; +-char __gnat_shared_libgnat_default = STATIC; +-char __gnat_shared_libgcc_default = STATIC; ++const char *__gnat_run_path_option = ""; ++char __gnat_shared_libgnat_default = SHARED; ++char __gnat_shared_libgcc_default = SHARED; + int __gnat_link_max = 8192; + unsigned char __gnat_objlist_file_supported = 1; + const char *__gnat_object_library_extension = ".a"; |