2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 16:50:07 -07:00
repo/extra/efivar/build

14 lines
431 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2019-10-08 02:18:28 -06:00
patch -p1 < no-add-needed.patch
2021-08-07 23:57:27 -06:00
# Disable test program 'thread-test' as it causes build failures when using
# parallel make (due to missing dependency on libefivar.so). Other workarounds
# include patching the Makefile or forcing -j1 (what we used to do).
# See: https://github.com/rhboot/efivar/pull/169
sed 's/thread-test//' src/Makefile > _
mv -f _ src/Makefile
2021-07-27 09:23:30 -06:00
make COMPILER="$CC"
make libdir=/usr/lib/ install