1
0
mirror of https://github.com/cahirwpz/amigaos-cross-toolchain synced 2025-11-21 18:55:54 +00:00

Fix link error with C++ programs.

This commit is contained in:
Krystian Bacławski
2015-09-08 21:03:55 +02:00
parent 2bf06964d6
commit 96f2ca8451

View File

@ -140,6 +140,9 @@ Boston, MA 02111-1307, USA. */
"%{mstackcheck:-lstack} " \
"%{mstackextend:-lstack}}"
#define LIBGCC_SPEC \
"-lgcc %{noixemul:-lnix}"
/* If debugging, tell the linker to output amiga-hunk symbols *and* a BSD
compatible debug hunk.
Also, pass appropriate linker flavours depending on user-supplied