On 08/31/2012 03:34 AM, Ragnar Thomsen wrote:
> It is stated in LFS that --strip-unneeded should not be used on
> libraries, as the static ones will be destroyed.
>
> I found this page:
> http://www.technovelty.org/linux/
>
> Which states that --strip-unneeded is safe to use on both shared and
> static libraries, while --strip-all is only safe for shared ones.
>
> Being a minimalist, I am tempted to use --strip-unneeded on all
> libraries. Has anyone tried to see if this breaks a LFS system?
>
> -Ragnar-
This is what I use

#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' 
for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' 
for details.
STRIP_STATIC="--strip-debug"

Works fine
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to