https://bugzilla.redhat.com/show_bug.cgi?id=1101521

Ralf Corsepius <rc040...@freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rc040...@freenet.de



--- Comment #8 from Ralf Corsepius <rc040...@freenet.de> ---
(In reply to Christopher Meng from comment #6)
> 1. g++ colmap.c -o colmap
> 
> Use %{_cxx} instead of g++.

1. This is a c-program => you are supposed to use a c compiler.
2. The correct rpm-macro corresponding to "g++" would be %{__cxx}, not %{_cxx}.
3. Compilation needs to take into account $RPM_OPT_FLAGS

=> The spec should use something similar to this:
%{__cc} ${RPM_OPT_FLAGS} -o colmap colmap.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to