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

Correct cpp-options for both linux/darwin #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dalpd
Copy link

@dalpd dalpd commented Oct 22, 2021

This builds on df6c617.

Patching svgcairo on nixpkgs with this commit fixed the linux build but removing one of the flags broke it for darwin. I don't think it's a nixpkgs issue and after some investigation I found similar issues on Github. It seems like we need to retain the -D__attribute__(A)= flag, so this adds it back with a if os(darwin) conditonal.

This builds on
gtk2hs@df6c617.
Patching svgcairo on nixpkgs with this commit fixed the linux build but removing
one of the flags broke it for darwin.

This adds a conditional for darwin and adds the `-D__attribute__(A)=` flag back.
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.

1 participant