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>
This commit is contained in:
Khem Raj 2016-03-05 00:05:11 +00:00 committed by Richard Purdie
parent fb0c3c59c0
commit a91713fde7
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ do_compile() {
}
do_install() {
export COPTS="$CFLAGS"
export LOPTS="$LDFLAGS"
unset CFLAGS
unset LDFLAGS
oe_runmake 'BASEDIR=${D}' install
}