SHA256
1
0
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:
Matthias Gerstner 2019-07-11 08:07:22 +00:00 committed by Git OBS Bridge
parent dea1af16fd
commit ec6bd55c12
2 changed files with 10 additions and 1 deletions

View File

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

View File

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