Fixes build on Sparc.

This commit is contained in:
Ondrej Zajicek 2010-08-04 13:53:52 +02:00
parent bf5aa0d17c
commit 7a9aeb8f60

View File

@ -66,7 +66,9 @@ else
subdir: all.o
all.o: $(objs)
$(CC) -nostdlib -Wl,-r -o $@ $^
# $(LD) -r -o $@ $^
# Changed to $(CC) because $(LD) has problems with crosscompiling
$(CC) -nostdlib -r -o $@ $^
endif