Am 13.01.2016 um 15:06 schrieb Ankur Sinha:
On Wed, 2016-01-13 at 13:08 +0100, Michael Schwendt wrote:
Yes.
Thanks Michael. Follow up question:
What is the cleanest way of doing this - replacing -ansi with
-std=c++11 in %{_optflags} while using the %configure macro?
You can do it the following way, by placing this override on top of your
spec-file:
%global optflags "-std=c++11 %{optflags}"
That will override the %optflags in scope of your spec-file to carry a
prepended "-std=c++11", too. The %configure-macro will use your custom
enhanced %optflags, then.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx