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
This commit is contained in:
Jan Engelhardt 2023-11-30 15:00:41 +00:00 committed by Git OBS Bridge
parent fb3e435cd1
commit e76fe9fa3e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 30 14:43:11 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Make use of openSUSE build flags
-------------------------------------------------------------------
Fri Nov 3 10:00:32 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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