gcc: correct LINK_SPEC for m68k

We need to allow undefined symbols to link libgcc now...
This commit is contained in:
François Revol 2016-07-20 04:40:19 +02:00
parent 97e06d2ad6
commit 8865c113a6

View File

@ -108,7 +108,7 @@ Boston, MA 02110-1301, USA. */
#undef LINK_SPEC
/*#define LINK_SPEC "%{!o*:-o %b} -m elf_m68k_haiku -shared -no-undefined %{nostart:-e 0}"*/
#define LINK_SPEC "%{!o*:-o %b} -m m68kelf %{!r:-shared} -no-undefined %{nostart:-e 0}"
#define LINK_SPEC "%{!o*:-o %b} -m m68kelf %{!r:-shared} %{nostart:-e 0} %{shared:-e 0} %{!shared: %{!nostart: -no-undefined}}"
/* XXX: not sure for the rest there... */