From: Martin Mares Date: Fri, 14 Apr 2023 19:55:48 +0000 (+0200) Subject: tools: Use LDLIBS instead of LDFLAGS X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4ce1e35b9679aba74cd25255fb01f8a32eedfd91;p=home-hw.git tools: Use LDLIBS instead of LDFLAGS Newer linkers are more picky about library order. --- diff --git a/tools/Makefile b/tools/Makefile index 18612ed..61247b6 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -3,7 +3,7 @@ UCW_CFLAGS := $(shell $(PC) --cflags libucw) UCW_LDFLAGS := $(shell $(PC) --libs libucw) CFLAGS=$(UCW_CFLAGS) -O2 -std=gnu99 -Wall -Wextra -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -LDFLAGS=$(UCW_LDFLAGS) -lz +LDLIBS=$(UCW_LDFLAGS) -lz all: dfu-sign