[Bug 1943] Review request: Butt - Broadcast using this tool to
Icecast or Shoutcast servers
RPM Fusion Bugzilla
noreply at rpmfusion.org
Wed Oct 19 16:21:48 CEST 2011
http://bugzilla.rpmfusion.org/show_bug.cgi?id=1943
--- Comment #14 from s.baus86 at gmx.net 2011-10-19 16:21:44 ---
(In reply to comment #13)
> 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.
I have tried to build package with the following spec:
%build
./configure --prefix /usr
make CFLAGS="%{optflags}"
%install
[...]
make install DESTDIR=%{buildroot}
This possible. But how should i check, if the optflags are really used? Do you
mean to check the lines with
"gcc -O2 -Wall xyz.h"
?
Or is there an option to check for the optflags? And is the specfile above ok,
or do I also need to do something with the ./configure?!
Thanks for every information ;)
--
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.
More information about the rpmfusion-developers
mailing list