diff --git a/libjpeg-turbo.changes b/libjpeg-turbo.changes index 95e9beb..89258cd 100644 --- a/libjpeg-turbo.changes +++ b/libjpeg-turbo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 11 10:58:07 UTC 2021 - Andreas Schwab + +- Fix setting of FLOATTEST + ------------------------------------------------------------------- Mon Dec 28 15:39:18 UTC 2020 - pgajdos@suse.com diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec index ef479c2..ee58463 100644 --- a/libjpeg-turbo.spec +++ b/libjpeg-turbo.spec @@ -1,7 +1,7 @@ # # spec file for package libjpeg-turbo # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -118,8 +118,8 @@ MYCFLAGS="$MYCFLAGS -O0 -g" -DCMAKE_SHARED_LINKER_FLAGS="$MYLDFLAGS" \ -DENABLE_STATIC=OFF \ -DWITH_JPEG8=ON \ -%ifarch ppc - -DFLOATTEST=64bit \ +%ifarch s390x riscv64 + -DFLOATTEST=fp-contract \ %endif %{nil} %make_build diff --git a/libjpeg62-turbo.spec b/libjpeg62-turbo.spec index 209f8b3..2351d75 100644 --- a/libjpeg62-turbo.spec +++ b/libjpeg62-turbo.spec @@ -1,7 +1,7 @@ # # spec file for package libjpeg62-turbo # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -78,8 +78,8 @@ files using the libjpeg library. export LDFLAGS="-Wl,-z,relro,-z,now" %cmake \ -DENABLE_STATIC=OFF \ -%ifarch ppc - -DFLOATTEST=64bit \ +%ifarch s390x riscv64 + -DFLOATTEST=fp-contract \ %endif %{nil} %make_build