From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/6] rpcbind: use pkg-config for libtirpc flags
Date: Sun, 26 Jul 2015 20:45:13 +0200 [thread overview]
Message-ID: <1437936318-9450-1-git-send-email-patrickdepinguin@gmail.com> (raw)
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
next reply other threads:[~2015-07-26 18:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-26 18:45 Thomas De Schampheleire [this message]
2015-07-26 18:45 ` [Buildroot] [PATCH 2/6] conntrack-tools: use pkg-config for libtirpc flags 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437936318-9450-1-git-send-email-patrickdepinguin@gmail.com \
--to=patrickdepinguin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox