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 Polly flags #32

Open
blockiv opened this issue Jun 4, 2023 · 3 comments
Open

How to disable Polly flags #32

blockiv opened this issue Jun 4, 2023 · 3 comments

Comments

@blockiv
Copy link

blockiv commented Jun 4, 2023

In my make.conf, I've set my *FLAGS to include "-mllvm -polly", which is causing a package to break.

I'm trying to add "media-libs/openal +mllvm +polly" to /etc/portage/package.cflags/polly, but the flags remain active. What am I doing wrong here?

@vaeth
Copy link
Owner

vaeth commented Jun 4, 2023

As you described it, it should work. When you emerge openal, it should show you some information: Do you see that the corresponding line is parsed (possible reasons if not: file/directory permissions), and if yes, do see the flags still in the lines printed at the very beginning of the emerge? (If the latter is not the case then the flags might have been added later by the build system for some reason.)

@blockiv
Copy link
Author

blockiv commented Jun 4, 2023

As you described it, it should work. When you emerge openal, it should show you some information: Do you see that the corresponding line is parsed (possible reasons if not: file/directory permissions), and if yes, do see the flags still in the lines printed at the very beginning of the emerge? (If the latter is not the case then the flags might have been added later by the build system for some reason.)

Yep, the strange part is that I do see the lines where it's properly sourcing "/etc/portage/package.cflags/polly".

However, in the following lines, the flags persist. Initially I had all the Polly related flags defined in a variable, but even when adding them directly to CFLAGS in my make.conf, they persist.

@elsandosgrande
Copy link

@blockiv Would you be willing to share the first ten or so lines of the emerge output when emerging OpenAL? Have you tried seeing if media-libs/openal *FLAGS-="-mllvm -polly" does the trick?

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

3 participants