From 1b2eb0889bf649f04c165978388472a5a984fb79 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 11 Jan 2015 16:28:46 +0100 Subject: [PATCH] build_style/gnu-makefile: set STRIP to /bin/true aka ':'. This way xbps-src will strip bins itself via hooks to generate the debuginfo files and -dbg pkgs. --- common/build_style/gnu-makefile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/build_style/gnu-makefile.sh b/common/build_style/gnu-makefile.sh index d910011784..f0a889f7fe 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} }