Problems updating boost SPEC file

Jay Higley jhigley at dbresearch.net
Mon Aug 22 19:40:37 UTC 2011


I am trying to update the Boost SPEC file to actually compile both the 32bit
and 64bit versions, but I am seeing an error when rebuilding. It appears
that the mingw_cmake macro is not expanding the way that I expect it to when
I pass in arguments.

If my %build section looks like this, then it works.

%build
%mingw_cmake -DBUILD_TESTS=NONE
%mingw_make %{?_smp_mflags}


When it looks like this, I get an error.

%build
%mingw_cmake -DBUILD_TESTS=NONE
%mingw_make %{?_smp_mflags}


The error is
mingw_cmake: invalid option -- 'D'
error: Unknown option ? in mingw_cmake()

Can anyone offer up some pointers on what I should look at to try and debug
this?

-Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/mingw/attachments/20110822/3f1f965a/attachment.html 


More information about the mingw mailing list