Accepting request 1130823 from home:Guillaume_G:PAC_BTI
- Fix build on 32-bit x86 OBS-URL: https://build.opensuse.org/request/show/1130823 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=40
This commit is contained in:
parent
f992da1d2d
commit
16397656c0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 4 16:39:29 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Fix build on 32-bit x86
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 30 15:26:15 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
|
@ -71,6 +71,11 @@ for the Linux-native io_uring.
|
||||
%build
|
||||
# not autotools, so configure macro doesn't work
|
||||
%set_build_flags
|
||||
%ifarch %{ix86}
|
||||
# Otherwise 32-bit x86 fails with: undefined reference to `__stack_chk_fail_local'
|
||||
export CFLAGS="%{optflags} -fno-stack-protector"
|
||||
export CPPFLAGS="%{optflags} -fno-stack-protector"
|
||||
%endif
|
||||
sh ./configure --prefix=%{_prefix} \
|
||||
--includedir=%{_includedir} \
|
||||
--libdir=/%{_libdir} \
|
||||
|
Loading…
Reference in New Issue
Block a user