[oe-commits] [openembedded-core] 08/17: net-tools: Override CFLAGS/LDFLAGS in do_install too
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 7 00:12:20 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 57e4bb197173552706db60a3d82e1dddc0a6b004
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