summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/Makefile.drakxtools3
-rw-r--r--perl-install/NEWS2
-rw-r--r--tools/Makefile3
3 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
index e418c9e6d..431f3a85d 100644
--- a/perl-install/Makefile.drakxtools
+++ b/perl-install/Makefile.drakxtools
@@ -103,3 +103,6 @@ check:
rm -f share/po/libDrakX.pot standalone/po/libDrakX-standalone.pot
@make -C share/po libDrakX.pot
@make -C standalone/po libDrakX-standalone.pot
+
+../tools/rpcinfo-flushed:
+ cd ../tools; gcc -Wall $(shell pkg-config libtirpc --cflags --libs) rpcinfo-flushed.c -o rpcinfo-flushed
diff --git a/perl-install/NEWS b/perl-install/NEWS
index b391b97e7..447370833 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- fix compiling tools/rpcinfo-flushed with glibc-2.32
+
Version 18.35 - 20 November 2020
- diskdrake:
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")