http://bugzilla.rpmfusion.org/show_bug.cgi?id=1943
--- Comment #13 from Andrea Musuruane <musuruan(a)gmail.com> 2011-10-19 10:10:57 ---
(In reply to comment #12)
Couldn't use "%configure" macro, since it causes the
compiler to say "too much
arguments".
This is really strange: probably you need to patch the source.
Therefore I set the compilerflags during make. Hope this is ok now.
Otherwise I would be glad to get some help ;).
What you did is wrong because in this way the program is not compiled using
optflags:
%build
./configure --prefix /usr
make
%install
[...]
make CFLAGS="%{optflags}" install DESTDIR=%{buildroot}
You should call make with CFLAGS in %build and not in %install. But I suspect
you will hit the same problem you had using the %configure macro - I really
can't check right now.
Moreover you must check the output to see that the optflags are really used and
not ignored or overwritten by other options.
--
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.
You are the assignee for the bug.