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.<br>

<br>If my %build section looks like this, then it works.<br><br>%build<br>%mingw_cmake -DBUILD_TESTS=NONE<br>%mingw_make %{?_smp_mflags}<br><br><br>When it looks like this, I get an error.<br><br>%build<br>%mingw_cmake -DBUILD_TESTS=NONE<br>
%mingw_make %{?_smp_mflags}<br><br><br>The error is <br>mingw_cmake: invalid option -- &#39;D&#39;<br>error: Unknown option ? in mingw_cmake()<br><br>Can anyone offer up some pointers on what I should look at to try and debug this?<br>
<br>-Jay<br>