[Bug 529] Review request: kdenlive - Non-linear video editor
RPM Fusion Bugzilla
noreply at rpmfusion.org
Sat May 23 01:10:39 CEST 2009
http://bugzilla.rpmfusion.org/show_bug.cgi?id=529
--- Comment #21 from Orcan Ogetbil <oget.fedora at gmail.com> 2009-05-23 01:10:39 ---
(In reply to comment #19)
> (In reply to comment #18)
> >
> > Is this mean that I must use this:
> >
> > make %{optflags}
> >
> > instead of this:
> >
> > make %{?_smp_mflags}
> >
>
> Ah, I found...
>
> You mean this:
>
> make %{?_smp_mflags} CFLAGS="%{optflags}"
>
No, no... It is more complicated than just that.
When the C/C++/Fortran compiler is invoked, you have to make sure that the
Fedora specific optflags are passed to the compiler. How this is going to
happen depends on the build system (autoconf/automake, cmake, scons, waf, ...).
In this case the package uses cmake. Fedora's %cmake or %cmake_kde4 macros
define the Fedora specific optflags for you, and normally, you don't have to
change anything. Just compare the outputs of
rpm -E %optflags
rpm -E %cmake_kde4
and you will see that %cmake_kde4 is actually enforcing the %optflags.
However, life is not perfect and sometimes the upstreams claim that they know
the best flags that any system on the face of the planet should use.
I guess that the flags defined by your %cmake_kde4 macro are being overriden
somewhere. You need to find out where this happens and prevent the overriding.
--
Configure bugmail: http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the rpmfusion-developers
mailing list