You are not logged in.
Pages: 1
Is it possible to disable automatic stripping in makepkg? Unfortunately strip breaks the executable.
Offline
That's definitely possible. From man PKGBUILD:
options (array)
This array allows you to override some of makepkg´s default
behavior when building packages. To set an option, just include the
option name in the options array. To reverse the default behavior,
place an "!" at the front of the option. Only specify the options
you specifically want to override, the rest will be taken from
makepkg.conf(5). NOTE: force is a special option only used in a
PKGBUILD(5), do not use it unless you know what you are doing.
strip
Strip symbols from binaries and libraries. If you frequently
use a debugger on programs or libraries, it may be helpful to
disable this option.
Offline
/etc/makepkg.conf
...
#########################################################################
#
# Default: OPTIONS=(strip !docs libtool emptydirs)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc and info directories
#-- libtool: Leave libtool (.la) files in packages
#-- emptydirs: Leave empty directories in packages
#
OPTIONS=(strip !docs libtool emptydirs)
...
change to OPTIONS=(!strip !docs libtool emptydirs)
Offline
Thanks, I didn't know about that man page. I couldn't find the answer on the wiki.
Offline
Pages: 1