* Vít Ondruch:

> Since you are digging into this and AFAIK you are involved with
> toolchains, this reminds me this dreaded issue:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1284684
>
> In short, various languages, such as Ruby embeds the build time
> options and reuse them for build of extensions. And I wonder, would it
> be possible to generalize this e.g. into some tool, which would set
> the environment variables and would be usable outside of rpmbuild?

We have added %extension_… macros for the options that are safe to
hard-code.  But it doesn't solve the actual issue.

The problem is not that it is difficult to get the flags, the issue is
that we simply can't get the extension builders to move away from
hard-coding them.

If we add another mechanism, it will be as Fedora-specific as
`rpm --eval %build_cflags` is today.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to