diff --git a/xxhash.changes b/xxhash.changes index 24e463c..2ed23d9 100644 --- a/xxhash.changes +++ b/xxhash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 30 14:43:11 UTC 2023 - Guillaume GARDET + +- Make use of openSUSE build flags + ------------------------------------------------------------------- Fri Nov 3 10:00:32 UTC 2023 - Jan Engelhardt diff --git a/xxhash.spec b/xxhash.spec index 155c1f9..103e818 100644 --- a/xxhash.spec +++ b/xxhash.spec @@ -58,6 +58,9 @@ functions. Hashes are identical on all platforms. %autosetup -p1 -n xxHash-%{version} %build +export CFLAGS="%{optflags}" +export CXXFLAGS="%{optflags}" +export LDFLAGS="%{?_lto_cflags}" %make_build prefix=%{_prefix} libdir=%{_libdir} %install