[oe-commits] [openembedded-core] 02/09: net-tools: Override CFLAGS/LDFLAGS in do_install too
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 5 08:26:53 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 224e88c41938fba24bce38bfd96cc92bc08bf1c7
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Mar 5 00:05:11 2016 +0000
net-tools: Override CFLAGS/LDFLAGS in do_install too
do_compile does this but do_install needs same env as well
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
index 14b8e49..40a021a 100644
--- a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
+++ b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
@@ -83,6 +83,10 @@ do_compile() {
}
do_install() {
+ export COPTS="$CFLAGS"
+ export LOPTS="$LDFLAGS"
+ unset CFLAGS
+ unset LDFLAGS
oe_runmake 'BASEDIR=${D}' install
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list