mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-28 07:50:39 +00:00
tests: use LDFLAGS to link test files - this is to make Gentoo happy
This commit is contained in:
parent
91679cdb60
commit
7adb0bb969
@ -8,9 +8,6 @@ CC = $(CROSS)gcc
|
||||
|
||||
CFLAGS += -fPIC -O3 -Wall -I$(INCDIR) -L$(LIBDIR)
|
||||
|
||||
# dummy setup to make Gentoo happy
|
||||
$(LDFLAGS)
|
||||
|
||||
LIBNAME = capstone
|
||||
|
||||
BIN_EXT =
|
||||
@ -43,7 +40,7 @@ clean:
|
||||
$(BINARY): $(OBJS)
|
||||
|
||||
%$(BIN_EXT): %.o
|
||||
${CC} $(CFLAGS) $< -O3 -Wall -l$(LIBNAME) -o $@
|
||||
${CC} $(CFLAGS) $(LDFLAGS) $< -O3 -Wall -l$(LIBNAME) -o $@
|
||||
|
||||
%.o: %.c
|
||||
${CC} ${CFLAGS} -c $< -o $@
|
||||
|
Loading…
Reference in New Issue
Block a user