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
Show replies by date