forked from pool/tboot
- explicitly disable gcc9 link time optimization to fix the build and avoid
trouble in low level tboot code. OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=93
This commit is contained in:
parent
dea1af16fd
commit
ec6bd55c12
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 11 08:06:42 UTC 2019 - mgerstner <matthias.gerstner@suse.com>
|
||||
|
||||
- explicitly disable gcc9 link time optimization to fix the build and avoid
|
||||
trouble in low level tboot code.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 28 08:19:14 UTC 2019 - mgerstner <matthias.gerstner@suse.com>
|
||||
|
||||
|
@ -60,7 +60,10 @@ verified launch of an OS kernel/VMM.
|
||||
%patch8 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
# Tumbleweed now uses -flto=3 by default which gives us trouble with the
|
||||
# statically linked C and assembler code in tboot. Better to be conservative
|
||||
# here since tboot is low level stuff -> disable LTO for us.
|
||||
export CFLAGS="%{optflags} -fno-lto"
|
||||
export TBOOT_CFLAGS="$CFLAGS"
|
||||
make debug=y %{?_smp_mflags}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user