@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
+1 -1
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 $<