Fixes build on Sparc.

This commit is contained in:
Ondrej Zajicek 2010-08-04 13:53:52 +02:00
parent 946dc15c92
commit 373d3dbe8d

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