wok-next view gcc/stuff/patches/ada-shared.patch @ rev 21127
Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 11:29:09 2019 +0200 (2019-01-18) |
parents | |
children |
line source
1 Index: b/gcc/ada/link.c
2 ===================================================================
3 --- a/gcc/ada/link.c
4 +++ b/gcc/ada/link.c
5 @@ -105,9 +105,9 @@
7 #elif defined (__FreeBSD__)
8 const char *__gnat_object_file_option = "-Wl,@";
9 -const char *__gnat_run_path_option = "-Wl,-rpath,";
10 -char __gnat_shared_libgnat_default = STATIC;
11 -char __gnat_shared_libgcc_default = STATIC;
12 +const char *__gnat_run_path_option = "";
13 +char __gnat_shared_libgnat_default = SHARED;
14 +char __gnat_shared_libgcc_default = SHARED;
15 int __gnat_link_max = 8192;
16 unsigned char __gnat_objlist_file_supported = 1;
17 const char *__gnat_object_library_extension = ".a";
18 @@ -127,9 +127,9 @@
20 #elif defined (linux) || defined(__GLIBC__)
21 const char *__gnat_object_file_option = "-Wl,@";
22 -const char *__gnat_run_path_option = "-Wl,-rpath,";
23 -char __gnat_shared_libgnat_default = STATIC;
24 -char __gnat_shared_libgcc_default = STATIC;
25 +const char *__gnat_run_path_option = "";
26 +char __gnat_shared_libgnat_default = SHARED;
27 +char __gnat_shared_libgcc_default = SHARED;
28 int __gnat_link_max = 8192;
29 unsigned char __gnat_objlist_file_supported = 1;
30 const char *__gnat_object_library_extension = ".a";