From 3432335ccab5911501698db54f04ac30a80cf961 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 25 Nov 2020 12:39:32 +0100 Subject: Fix compiling with glibc-2.32 Old legacy RPC bits were finally axed so we need to link against libtirpc --- tools/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/Makefile') 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") -- cgit v1.2.1