2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

@R allow multiple definitions for c++ example

This commit is contained in:
bebbo
2017-03-24 17:07:50 +01:00
parent 20b8072f31
commit 0ec98dc566
2 changed files with 55 additions and 19 deletions

View File

@ -30,7 +30,7 @@ hello-stdio.clib2: hello-stdio.c
$(CC) -mcrt=clib2 -m68020 $(CFLAGS) -o $@ $<
hello-iostream: hello-iostream.cpp
$(CXX) -noixemul -m68020 $(CXXFLAGS) -o $@ $^
$(CXX) -noixemul -m68020 $(CXXFLAGS) -o $@ $^ -Xlinker --allow-multiple-definition
test-ctors: test-ctors.cpp
$(CXX) -noixemul -m68020 $(CXXFLAGS) -D__A -c -o test-ctors-a.o $<