From: Keith M. <kei...@us...> - 2013-10-06 21:33:03
|
On 06/10/13 21:37, Earnie Boyd wrote: > it was stripped before so I will remove the debug info That's fair enough; some may disagree, but it is at least consistent with previous practice. > from the executables and libraries before shipping it with > LDFLAGS=-s. For any package which follows GNU conventions, that would work, but it isn't my preferred approach. I prefer to build with debug information included, then I use 'make prefix=`pwd`/staged install-strip' to stage a stripped version for distribution. Doing it this way, I don't need to rebuild, if I want to stage a debug enabled release. -- Regards, Keith. |