Florian Weimer writes:
After installing redhat-rpm-config, this works in bash and similar
shells:
$ eval `rpm --eval %set_build_flags`
Maybe we can make it more clear in buildflags.md that this macro is a
shell script fragment?
I find it more convenient to generate parameters for an
Dne 02. 01. 23 v 14:09 Florian Weimer napsal(a):
* Vít Ondruch:
And yes, that is the problem why upstream can't see the issues we see,
despite they were so kind to test on Fedora. Luckily, there was
analysis of the issue which initially triggered this discussion done
by Mamoru [1] and it seem
* Vít Ondruch:
> And yes, that is the problem why upstream can't see the issues we see,
> despite they were so kind to test on Fedora. Luckily, there was
> analysis of the issue which initially triggered this discussion done
> by Mamoru [1] and it seem that the issue are caused by
> LTO.
Dne 24. 12. 22 v 20:49 Florian Weimer napsal(a):
* Vít Ondruch:
Working with upstream on one issue [1], it seems that the culprit is in
the Fedora compiler options. Is there some convenient way to set them
up? Of course I can copy them from log, or somehow put together from the
RPM macros,
On Sun Dec 25, 2022 at 09:02 -0500, Sam Varshavchik wrote:
> rpm -E '%__global_ldflags'
>
> is also needed for LDFLAGS.
%__global_ldflags is deprecated. You should use %build_ldflags
instead[1]. Also, %build_cflags, %build_cxxflags, and friends are
preferred to %optflags AFAIK.
[1]:
Vitaly Zaitsev via devel writes:
On 23/12/2022 19:21, Vít Ondruch wrote:
Working with upstream on one issue [1], it seems that the culprit is in the
Fedora compiler options. Is there some convenient way to set them up?
rpm -E %optflags
rpm -E '%__global_ldflags'
is also needed for
On 23/12/2022 19:21, Vít Ondruch wrote:
Working with upstream on one issue [1], it seems that the culprit is in
the Fedora compiler options. Is there some convenient way to set them up?
rpm -E %optflags
--
Sincerely,
Vitaly Zaitsev (vit...@easycoding.org)
* Vít Ondruch:
> Working with upstream on one issue [1], it seems that the culprit is in
> the Fedora compiler options. Is there some convenient way to set them
> up? Of course I can copy them from log, or somehow put together from the
> RPM macros, but I'd appreciate if there was some easier
> So you can do
> $ eval `rpm -E '%set_build_flags'`
> in a script to set the flags that RPM uses.
Another solution could be something like:
$ gcc $(rpm -E '%optflags') ... $(rpm -E '%build_ldflags')
A.FI.
___
devel mailing list --
On Fri, Dec 23, 2022 at 1:21 PM Vít Ondruch wrote:
>
> Working with upstream on one issue [1], it seems that the culprit is in
> the Fedora compiler options. Is there some convenient way to set them
> up? Of course I can copy them from log, or somehow put together from the
> RPM macros, but I'd
Working with upstream on one issue [1], it seems that the culprit is in
the Fedora compiler options. Is there some convenient way to set them
up? Of course I can copy them from log, or somehow put together from the
RPM macros, but I'd appreciate if there was some easier way. Can we e.g.
11 matches
Mail list logo