summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-03-05 00:05:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-07 00:11:38 +0000
commita91713fde77aafd0b41b97a1c96f0188a4b2e473 (patch)
tree5a60d083a06d886e938aff864f001f116dc5deae
parentfb0c3c59c09905ba1a20a2b0c6297ae923667f7d (diff)
downloadpoky-a91713fde77aafd0b41b97a1c96f0188a4b2e473.tar.gz
net-tools: Override CFLAGS/LDFLAGS in do_install too
do_compile does this but do_install needs same env as well (From OE-Core rev: 57e4bb197173552706db60a3d82e1dddc0a6b004) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/net-tools/net-tools_1.60-26.bb4
1 files changed, 4 insertions, 0 deletions
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 14b8e494bf..40a021a09e 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() {
83} 83}
84 84
85do_install() { 85do_install() {
86 export COPTS="$CFLAGS"
87 export LOPTS="$LDFLAGS"
88 unset CFLAGS
89 unset LDFLAGS
86 oe_runmake 'BASEDIR=${D}' install 90 oe_runmake 'BASEDIR=${D}' install
87} 91}
88 92