summaryrefslogtreecommitdiff
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-06 23:52:57 +0000
commit57e4bb197173552706db60a3d82e1dddc0a6b004 (patch)
tree247eea2751a66404b1458985e405303edd0265db
parent3eb83b880e66fff0e715e79546ed98d9818390b5 (diff)
downloadopenembedded-core-57e4bb197173552706db60a3d82e1dddc0a6b004.tar.gz
openembedded-core-57e4bb197173552706db60a3d82e1dddc0a6b004.tar.bz2
openembedded-core-57e4bb197173552706db60a3d82e1dddc0a6b004.zip
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@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() {
}
do_install() {
+ export COPTS="$CFLAGS"
+ export LOPTS="$LDFLAGS"
+ unset CFLAGS
+ unset LDFLAGS
oe_runmake 'BASEDIR=${D}' install
}