projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Place -lusb-1.0 as the last of the linker options
[fw/stlink]
/
gdbserver
/
Makefile
diff --git
a/gdbserver/Makefile
b/gdbserver/Makefile
index a8d1b90aa3b35dda5ba88637e1b65ddb51a9c798..a10a0d82793ff6cbae3b6104a3473a123d79a7fb 100644
(file)
--- a/
gdbserver/Makefile
+++ b/
gdbserver/Makefile
@@
-9,7
+9,7
@@
OBJS = gdb-remote.o gdb-server.o
CFLAGS+=-g -Wall -Werror -std=gnu99 -I../src
CFLAGS+=-DCONFIG_USE_LIBUSB=1
-LDFLAGS=-
lusb-1.0 -L.. -lstlink
+LDFLAGS=-
L.. -lstlink -lusb-1.0
ifeq ($(CONFIG_USE_LIBSG),)
CONFIG_USE_LIBSG=1