From 101839b6e28c67f538733741c997b116d026d978 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 May 2015 18:07:58 +0200 Subject: [PATCH] build-style/gnu-makefile: force {C,LD}FLAGS via make(1) arguments. --- common/build-style/gnu-makefile.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/build-style/gnu-makefile.sh b/common/build-style/gnu-makefile.sh index 96f1bd4452f..b328431e55b 100644 --- a/common/build-style/gnu-makefile.sh +++ b/common/build-style/gnu-makefile.sh @@ -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} }