-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
New package: srain-1.0.1 #19928
New package: srain-1.0.1 #19928
Conversation
It seems that |
you usually need |
Thanks, let's see! |
|
Do I need to take it out of makedepends, then? |
you need it in both places |
I think there's something wrong in the makefile/build flags. I ran into this issue before, but I forgot how I fixed it. |
The errors now:
and
|
That looks like an issue upstream, right? I haven't found those flags when I grepped them, though. |
yes, I would report it upstream |
|
Then isn't it on us to find out what is missing and then open a PR with a fix upstream? |
Well, you can check on Void's IRC, there's usually one or two people that will help you. I don't have time to look into this now, sorry. |
Oh, yes, no I didn't expect us two to fix it now! Thanks for your help so far, we've progressed! |
Ok, I think I get it. The errors look like an host compiler is trying to be used, and not the target compiler. Perhaps the Makefile does not let the compiler to be changed, and it does look like it. |
I've added a patch now, to let the CC be overriden by what This was my patch:
|
Alright, using gnu-makefile build style seems to have the same effect as my patch had. |
I was confused about the meaning of The actual problem I had was being unable to set CC by environment, because the Makefile already set CC explicitly. The fix was to set CC conditionally based on whether it has its default value, or it has been redefined — basically falling back to a default if not otherwise specified. |
Done. |
Ping. According to me, it's good to merge. |
No description provided.