[why] Strip symbols missing when exec cci-makepkg, file size is changed.
[How] according to https://man.archlinux.org/man/makepkg.conf.5.en: Strip symbols from binaries and libraries. If you frequently use a debugger on programs or libraries, it may be helpful to disable this option.
Signed-off-by: Wei Jihui weijihuiall@163.com --- etc/makepkg.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/makepkg.conf b/etc/makepkg.conf index 5d73399d..1ff5d558 100644 --- a/etc/makepkg.conf +++ b/etc/makepkg.conf @@ -83,7 +83,7 @@ BUILDENV=(!distcc color !ccache check !sign) #-- purge: Remove files specified by PURGE_TARGETS #-- debug: Add debugging flags as specified in DEBUG_* variables # -OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug) +OPTIONS=(!strip docs !libtool !staticlibs emptydirs zipman purge !debug)
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512 INTEGRITY_CHECK=(md5)
Reviewed-by: Lin Jiaxin ljx.joe@qq.com
On Tue, Feb 02, 2021 at 05:04:55PM +0800, Wei Jihui wrote:
[why] Strip symbols missing when exec cci-makepkg, file size is changed.
[How] according to https://man.archlinux.org/man/makepkg.conf.5.en: Strip symbols from binaries and libraries. If you frequently use a debugger on programs or libraries, it may be helpful to disable this option.
Signed-off-by: Wei Jihui weijihuiall@163.com
etc/makepkg.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/makepkg.conf b/etc/makepkg.conf index 5d73399d..1ff5d558 100644 --- a/etc/makepkg.conf +++ b/etc/makepkg.conf @@ -83,7 +83,7 @@ BUILDENV=(!distcc color !ccache check !sign) #-- purge: Remove files specified by PURGE_TARGETS #-- debug: Add debugging flags as specified in DEBUG_* variables # -OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug) +OPTIONS=(!strip docs !libtool !staticlibs emptydirs zipman purge !debug)
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512 INTEGRITY_CHECK=(md5) -- 2.23.0