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

:universal option for zlib formula #1106

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gsteemso
Copy link
Contributor

trivial edit. appears to work fine with no active intervention. Have not tried it on Tiger because no way to test the Intel half.

Copy link
Owner

@mistydemeo mistydemeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late reply.

Hmm, it doesn't seem to have picked up on it for me - lipo -info /usr/local/opt/zlib/lib/libz.1.3.1.dylib still shows a single arch binary. What does that show for you?

@gsteemso
Copy link
Contributor Author

gsteemso commented May 7, 2024

I believe this is due to another issue for which I ought to have submitted a pull request first (I apologize for the confusion).

In brief, Superenv has three methods which modify HOMEBREW_ARCHFLAGS (m32, m64, and universal_binary). None of them contain the call to permit_arch_flags which would make that actually DO anything.

Correcting this deficiency causes the majority (of formulae I have since attempted) to build successfully with this same trivial :universal option.

I suspect that the present PR will work just fine under stdenv, which does not suffer the same deficiency.

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

Successfully merging this pull request may close these issues.

None yet

2 participants