2019-06-26 05:42:26 +00:00
|
|
|
#!/bin/sh -e
|
2019-10-08 08:18:28 +00:00
|
|
|
|
2021-08-15 05:59:15 +00:00
|
|
|
patch -p1 < no-add-needed.patch
|
|
|
|
|
2021-08-08 05:57:27 +00: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
|
2021-08-08 05:46:40 +00:00
|
|
|
sed 's/thread-test//' src/Makefile > _
|
|
|
|
mv -f _ src/Makefile
|
|
|
|
|
2021-07-27 15:23:30 +00:00
|
|
|
make COMPILER="$CC"
|
|
|
|
make libdir=/usr/lib/ install
|