summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJaroslav Škarvada <jskarvad@redhat.com>2014-09-02 11:37:55 +0200
committerMartin Braun <martin.braun@ettus.com>2014-09-23 13:08:45 -0700
commit8f4501b009a26bc2fc5dfdebf76052b1acd57d34 (patch)
tree258b9a8f2896b4d4710b9d8d1155eef724507de5 /tools
parentdf0c602c43959d15b5102fefe0b2d999a6b27141 (diff)
downloaduhd-8f4501b009a26bc2fc5dfdebf76052b1acd57d34.tar.gz
uhd-8f4501b009a26bc2fc5dfdebf76052b1acd57d34.tar.bz2
uhd-8f4501b009a26bc2fc5dfdebf76052b1acd57d34.zip
uhd_dump: use LIBS instead of LDFLAGS
This allows distro override for LDFLAGS and doesn't break the build process. Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/uhd_dump/Makefile4
1 files changed, 2 insertions, 2 deletions
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)