--- tools/Rules.in.orig 2016-04-29 09:13:23 UTC +++ tools/Rules.in @@ -66,10 +66,8 @@ else subdir: all.o all.o: $(objs) -# $(LD) -r -o $@ $^ -# Changed to $(CC) because $(LD) has problems with crosscompiling @echo LD -r -o $@ $^ - @$(CC) -nostdlib -r -o $@ $^ + $(LD) -r -o $@ $^ endif