diff --git a/common/build_style/gnu-makefile.sh b/common/build_style/gnu-makefile.sh index d9100117845..f0a889f7fe8 100644 --- a/common/build_style/gnu-makefile.sh +++ b/common/build_style/gnu-makefile.sh @@ -6,7 +6,7 @@ do_build() { ${make_cmd} \ CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \ - CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="$STRIP" \ + CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP=":" \ ${makejobs} ${make_build_args} ${make_build_target} } @@ -14,7 +14,7 @@ do_install() { : ${make_cmd:=make} : ${make_install_target:=install} - make_install_args+=" PREFIX=/usr DESTDIR=${DESTDIR}" + make_install_args+=" STRIP=: PREFIX=/usr DESTDIR=${DESTDIR}" ${make_cmd} ${make_install_args} ${make_install_target} }