Blame SOURCES/quota-4.04-Add-TIRPC_CFLAGS-globally-to-CFLAGS-for-RPC-support-.patch
|
|
30c500 |
From bbb8819fc0f6ed379a05d635a61bcf9c8986079f Mon Sep 17 00:00:00 2001
|
|
|
30c500 |
From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
|
|
|
30c500 |
Date: Sat, 16 Sep 2017 13:09:43 +0200
|
|
|
30c500 |
Subject: [PATCH] Add $(TIRPC_CFLAGS) globally to CFLAGS for RPC support,
|
|
|
30c500 |
needed for libc 2.26
|
|
|
30c500 |
|
|
|
30c500 |
---
|
|
|
30c500 |
Makefile.am | 5 ++---
|
|
|
30c500 |
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
30c500 |
|
|
|
30c500 |
diff --git a/Makefile.am b/Makefile.am
|
|
|
30c500 |
index 8d80bee..278290a 100644
|
|
|
30c500 |
--- a/Makefile.am
|
|
|
30c500 |
+++ b/Makefile.am
|
|
|
30c500 |
@@ -51,6 +51,8 @@ EXTRA_DIST = \
|
|
|
30c500 |
noinst_LIBRARIES = libquota.a
|
|
|
30c500 |
|
|
|
30c500 |
if WITH_RPC
|
|
|
30c500 |
+CFLAGS += $(TIRPC_CFLAGS)
|
|
|
30c500 |
+
|
|
|
30c500 |
rpcsvcdir = $(includedir)/rpcsvc
|
|
|
30c500 |
rpcsvc_DATA = \
|
|
|
30c500 |
rquota.h \
|
|
|
30c500 |
@@ -100,8 +102,6 @@ libquota_a_SOURCES = \
|
|
|
30c500 |
mntopt.h \
|
|
|
30c500 |
pot.c \
|
|
|
30c500 |
pot.h
|
|
|
30c500 |
-libquota_a_CFLAGS = \
|
|
|
30c500 |
- $(TIRPC_CFLAGS)
|
|
|
30c500 |
libquota_a_LIBADD = \
|
|
|
30c500 |
$(RPCLIBS)
|
|
|
30c500 |
|
|
|
30c500 |
@@ -235,7 +235,6 @@ rpc_rquotad_SOURCES = \
|
|
|
30c500 |
rquota_server.c \
|
|
|
30c500 |
rquota_svc.c \
|
|
|
30c500 |
svc_socket.c
|
|
|
30c500 |
-rpc_rquotad_CFLAGS = $(TIRPC_CFLAGS)
|
|
|
30c500 |
rpc_rquotad_LDADD = \
|
|
|
30c500 |
libquota.a \
|
|
|
30c500 |
$(WRAP_LIBS) \
|
|
|
30c500 |
--
|
|
|
30c500 |
2.14.1
|
|
|
30c500 |
|