Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable simultaneous building of debug package? #83

Closed
dvdesolve opened this issue Jun 6, 2023 · 3 comments
Closed

How to disable simultaneous building of debug package? #83

dvdesolve opened this issue Jun 6, 2023 · 3 comments

Comments

@dvdesolve
Copy link

For some reason I've noticed that -debug version of package is also built when I run sudo ccm s. How I can avoid building debug version during build?

@graysky2
Copy link
Owner

graysky2 commented Jun 6, 2023

Edit whatever you are sourcing as your makepkg.conf for ccm and bang-out the debug setting in the OPTIONS array. For example:

% grep OPTIONS= /usr/share/devtools/makepkg.conf.d/x86_64.conf
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge debug lto)

Change debug to !debug and unless the PKGBUILD overrides that, it shouldn't build.

@graysky2 graysky2 closed this as completed Jun 6, 2023
@dvdesolve
Copy link
Author

dvdesolve commented Jun 7, 2023 via email

@graysky2
Copy link
Owner

graysky2 commented Jun 7, 2023

Yeah, defaults changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants