fix build

This commit is contained in:
Christoph Junghans 2019-10-26 16:20:12 -06:00
parent 8db5beea5a
commit dbd7080e53

View File

@ -41,6 +41,7 @@ This package contains development headers and libraries for the cereal library
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake3} .. -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF
%make_build
@ -48,9 +49,7 @@ mkdir %{_target_platform}
%make_install -C %{_target_platform}
%check
#test_portable_binary_archive is unstable
#https://github.com/USCiLab/cereal/issues/338
make -C %{_target_platform} test ARGS="-V -E test_portable_binary_archive"
make -C %{_target_platform} test
%files devel
%doc README.md