st/xa: Link with -Wl,-r instead of -r.

This is required to link with clang:
  /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000400160.
This commit is contained in:
Johannes Obermayr 2012-04-07 20:31:41 +02:00 committed by Christoph Bumiller
parent a50d695ac2
commit 7bb1c784a3

View file

@ -39,7 +39,7 @@ default: $(XA_LIB_NAME)
# Make the library
$(XA_LIB_NAME): depend $(OBJECTS)
$(CC) -r -nostdlib -o $(XA_LIB_NAME) $(OBJECTS) $(CFLAGS)
$(CC) -Wl,-r -nostdlib -o $(XA_LIB_NAME) $(OBJECTS) $(CFLAGS)
install: FORCE