Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/6] rpcbind: use pkg-config for libtirpc flags
@ 2015-07-26 18:45 Thomas De Schampheleire
  2015-07-26 18:45 ` [Buildroot] [PATCH 2/6] conntrack-tools: " Thomas De Schampheleire
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Thomas De Schampheleire @ 2015-07-26 18:45 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

Instead of hardcoding the flags needed for libtirpc, use pkg-config.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
 package/rpcbind/rpcbind.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rpcbind/rpcbind.mk b/package/rpcbind/rpcbind.mk
index d879de1..1e28af9 100644
--- a/package/rpcbind/rpcbind.mk
+++ b/package/rpcbind/rpcbind.mk
@@ -11,7 +11,7 @@ RPCBIND_LICENSE = BSD-3c
 RPCBIND_LICENSE_FILES = COPYING
 
 RPCBIND_CONF_ENV += \
-	CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/tirpc/"
+	CFLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`"
 RPCBIND_DEPENDENCIES += libtirpc host-pkgconf
 RPCBIND_CONF_OPTS += --with-rpcuser=root
 RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no
-- 
1.8.5.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-26 19:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 18:45 [Buildroot] [PATCH 1/6] rpcbind: use pkg-config for libtirpc flags Thomas De Schampheleire
2015-07-26 18:45 ` [Buildroot] [PATCH 2/6] conntrack-tools: " Thomas De Schampheleire
2015-07-26 18:45 ` [Buildroot] [PATCH 3/6] busybox: " Thomas De Schampheleire
2015-07-26 18:45 ` [Buildroot] [PATCH 4/6] quota: " Thomas De Schampheleire
2015-07-26 18:45 ` [Buildroot] [PATCH 5/6] xinetd: " Thomas De Schampheleire
2015-07-26 18:45 ` [Buildroot] [PATCH 6/6] argus: " Thomas De Schampheleire
2015-07-26 19:54 ` [Buildroot] [PATCH 1/6] rpcbind: " Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox