summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-11-25 12:39:32 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-11-25 12:47:29 +0100
commit3432335ccab5911501698db54f04ac30a80cf961 (patch)
tree562ce79bf643f18a567e732f18d565c4fbb72587 /tools/Makefile
parent65628f0419978af9b9c3a564a9af1d549cb8d62c (diff)
downloaddrakx-3432335ccab5911501698db54f04ac30a80cf961.tar
drakx-3432335ccab5911501698db54f04ac30a80cf961.tar.gz
drakx-3432335ccab5911501698db54f04ac30a80cf961.tar.bz2
drakx-3432335ccab5911501698db54f04ac30a80cf961.tar.xz
drakx-3432335ccab5911501698db54f04ac30a80cf961.zip
Fix compiling with glibc-2.32
Old legacy RPC bits were finally axed so we need to link against libtirpc
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c563a03f7..bac17c3e7 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,5 +1,6 @@
DIRS = serial_probe
-CFLAGS = -Wall
+LDFLAGS = $(shell pkg-config libtirpc --libs)
+CFLAGS = -Wall $(shell pkg-config libtirpc --cflags)
ARCH := $(shell arch | egrep "x86_64")
ifneq ("x$(ARCH)", "x")