common/build-style/gnu-makefile: pass CXXFLAGS in make invocation.

This commit is contained in:
Érico Rolim 2020-12-06 19:20:35 -03:00 committed by Érico Nogueira Rolim
parent b45cdf949c
commit 2325ae153b

View file

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