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:
committed by
Christoph Bumiller
parent
a50d695ac2
commit
7bb1c784a3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user