From e76fe9fa3ea36755ed82b745c52d38f6b1a12e25bf50aae8dddbc9fd9e4ed486 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 30 Nov 2023 15:00:41 +0000 Subject: [PATCH] Accepting request 1130022 from home:Guillaume_G:PAC_BTI - Make use of openSUSE build flags OBS-URL: https://build.opensuse.org/request/show/1130022 OBS-URL: https://build.opensuse.org/package/show/science/xxhash?expand=0&rev=22 --- xxhash.changes | 5 +++++ xxhash.spec | 3 +++ 2 files changed, 8 insertions(+) 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