SHA256
1
0
forked from pool/tboot

Accepting request 714590 from security

- explicitly disable gcc9 link time optimization to fix the build and avoid
  trouble in low level tboot code.

OBS-URL: https://build.opensuse.org/request/show/714590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=40
This commit is contained in:
2019-07-11 11:18:55 +00:00
committed by Git OBS Bridge
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}