From 8f4501b009a26bc2fc5dfdebf76052b1acd57d34 Mon Sep 17 00:00:00 2001 From: Jaroslav Škarvada Date: Tue, 2 Sep 2014 11:37:55 +0200 Subject: uhd_dump: use LIBS instead of LDFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows distro override for LDFLAGS and doesn't break the build process. Signed-off-by: Jaroslav Škarvada --- tools/uhd_dump/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/uhd_dump/Makefile b/tools/uhd_dump/Makefile index b793776d4..0494767bb 100644 --- a/tools/uhd_dump/Makefile +++ b/tools/uhd_dump/Makefile @@ -20,7 +20,7 @@ OBJECTS = uhd_dump.o CFLAGS = -g -O0 -Wall -LDFLAGS = -lpcap -lm +LIBS = -lpcap -lm CC = cc @@ -28,7 +28,7 @@ CC = cc all: $(BINARIES) chdr_log: uhd_dump.o chdr_log.o $(INCLUDES) - $(CC) $(CFLAGS) -o $@ uhd_dump.o chdr_log.o $(LDFLAGS) + $(CC) $(CFLAGS) -o $@ uhd_dump.o chdr_log.o $(LIBS) $(LDFLAGS) -- cgit v1.2.3