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:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user