build-style/gnu-makefile: force {C,LD}FLAGS via make(1) arguments.

This commit is contained in:
Juan RP 2015-05-12 18:07:58 +02:00
parent f1ba494431
commit 101839b6e2

View file

@ -6,7 +6,8 @@ do_build() {
${make_cmd} \
CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \
CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="true" \
CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" CFLAGS="$CFLAGS" \
LDFLAGS="$LDFLAGS" \
${makejobs} ${make_build_args} ${make_build_target}
}