Problems updating boost SPEC file

Jay Higley jhigley at
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.

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

When it looks like this, I get an error.

%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

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the mingw mailing list