Removed comment about STM32F4 limitations
[fw/stlink] / gdbserver / Makefile
index a10a0d82793ff6cbae3b6104a3473a123d79a7fb..85b0ac1d67b6f87d77bb54b4485558dc1398ab8d 100644 (file)
@@ -9,6 +9,7 @@ OBJS = gdb-remote.o gdb-server.o
 
 CFLAGS+=-g -Wall -Werror -std=gnu99 -I../src
 CFLAGS+=-DCONFIG_USE_LIBUSB=1
+CFLAGS+=-DCONFIG_USE_LIBSG=$(CONFIG_USE_LIBSG)
 LDFLAGS=-L.. -lstlink -lusb-1.0
 
 ifeq ($(CONFIG_USE_LIBSG),)
@@ -16,7 +17,6 @@ CONFIG_USE_LIBSG=1
 endif
 
 ifneq ($(CONFIG_USE_LIBSG),0)
-CFLAGS+=-DCONFIG_USE_LIBSG=1
 LDFLAGS+=-lsgutils2
 endif