mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
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:
parent
a50d695ac2
commit
7bb1c784a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue