diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-09-16 13:09:43 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-02-05 16:35:42 +0100 |
commit | abbb2d17a3478e64173334ddb27f3d0a0f0372f9 (patch) | |
tree | 3efa9a602da192b48eb18f8ca94a41c34a3f8087 | |
parent | 02636442a24b5131804335fbdb544aa7d4365137 (diff) | |
download | linuxquota-abbb2d17a3478e64173334ddb27f3d0a0f0372f9.tar.gz |
Add $(TIRPC_CFLAGS) globally to CFLAGS for RPC support, needed for libc 2.26
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 9b852d2..a7262ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,6 +50,8 @@ EXTRA_DIST = \ noinst_LIBRARIES = libquota.a if WITH_RPC +CFLAGS += $(TIRPC_CFLAGS) + rpcsvcdir = $(includedir)/rpcsvc rpcsvc_DATA = \ rquota.h \ @@ -102,8 +104,6 @@ libquota_a_SOURCES = \ mntopt.h \ pot.c \ pot.h -libquota_a_CFLAGS = \ - $(TIRPC_CFLAGS) libquota_a_LIBADD = \ $(RPCLIBS) @@ -237,7 +237,6 @@ rpc_rquotad_SOURCES = \ rquota_server.c \ rquota_svc.c \ svc_socket.c -rpc_rquotad_CFLAGS = $(TIRPC_CFLAGS) rpc_rquotad_LDADD = \ libquota.a \ $(WRAP_LIBS) \ |