Windows native build fixes.

The testing of building on Windows is done using MSYS2.
This commit is contained in:
Chris Johns
2015-02-07 17:58:17 +11:00
parent 81ccf41bc0
commit d4eb08f55a
8 changed files with 37 additions and 16 deletions

View File

@@ -190,10 +190,11 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%{__rmfile} $SB_BUILD_ROOT%{_mandir}/man3/*ffi*
# Clean the symlinks away incase the source is a repo
%{__rmfile} ${source_dir_gcc}/newlib
%{__rmfile} ${source_dir_gcc}/mpfr
%{__rmfile} ${source_dir_gcc}/mpc
%{__rmfile} ${source_dir_gcc}/gmp
# Note, delete as a directory because of MSYS2 support on Windows.
%{__rmdir} ${source_dir_gcc}/newlib
%{__rmdir} ${source_dir_gcc}/mpfr
%{__rmdir} ${source_dir_gcc}/mpc
%{__rmdir} ${source_dir_gcc}/gmp
%testing
# Add testing here.