2014/1/24 Stuart Henderson <st...@openbsd.org>: > On 2014/01/24 14:14, Vadim Zhukov wrote: >> 2. Libraries should build with -g. > > This is done in base, but isn't the case for ports - libraries must > not be stripped, and CFLAGS should be honoured so that building with > DEBUG="-g" works, but ports don't normally build with symbols. > > I think it's valid to build with symbols by default if there are known > problems with a library, but if we did this across the whole tree, there > would be a HUGE increase in the size of packages, it typically makes > both the uncompressed and compressed libraries around a third bigger.
Good point, thanks. The updated port is attached. -- WBR, Vadim Zhukov
capstone_port.tar.gz
Description: GNU Zip compressed data