mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-15 16:10:38 +00:00
@@ -499,6 +499,13 @@ Requires: coreboot-utils = %{evr}
|
||||
%patch -P0 -p1
|
||||
%patch -P1 -p1
|
||||
|
||||
%conf
|
||||
%ifarch x86_64
|
||||
pushd msrtool
|
||||
%configure
|
||||
popd
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if 0%{?fedora} >= 42
|
||||
export CC=gcc-14
|
||||
@@ -534,6 +541,9 @@ pushd util
|
||||
%endif
|
||||
%make_build -C kbc1126
|
||||
%ifarch x86_64
|
||||
%make_build -C msrtool
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
%make_build -C nvramtool LDFLAGS="-fPIE"
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
@@ -557,13 +567,6 @@ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readon
|
||||
%gobuild -o %{_builddir}/autoport
|
||||
popd
|
||||
|
||||
%ifarch x86_64
|
||||
pushd msrtool
|
||||
%configure
|
||||
%make_build
|
||||
popd
|
||||
%endif
|
||||
|
||||
pushd coreboot-configurator
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
Reference in New Issue
Block a user