[fedfs-utils] [PATCH 2/3] build: Fix hidden glibc header file dependency
Chuck Lever
chuck.lever at oracle.com
Tue Apr 12 09:00:24 PDT 2016
From: Thorsten Kukuk <kukuk at suse.de>
In fedfs-utils, there is one place where no "-I/usr/include/tirpc" is
used. As result, glibc sunrpc header files are used instead of tirpc
ones.
You can see that nicely, if you install a glibc with deprecated-rpc
option enabled: fedfs-utils will fail to build because of missing
rpc header files.
Signed-off-by: Thorsten Kukuk <kukuk at suse.de>
---
src/libnsdb/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libnsdb/Makefile.am b/src/libnsdb/Makefile.am
index 9387dba..c98d0e7 100644
--- a/src/libnsdb/Makefile.am
+++ b/src/libnsdb/Makefile.am
@@ -35,4 +35,4 @@ DISTCLEANFILES = Makefile.in
AM_CFLAGS = -ggdb -fstrict-aliasing \
-Wall -Wextra -pedantic -Wformat=2 \
-Wstrict-aliasing=2 -Wp,-D_FORTIFY_SOURCE=2
-AM_CPPFLAGS = -I. -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I. -I$(top_srcdir)/src/include -I/usr/include/tirpc
More information about the fedfs-utils-devel
mailing list