#!/bin/sh -e
patch -p1 < 0008-Fix-packed-not-aligned-error-on-GCC-8.patch
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--disable-nls \
--disable-werror \
--with-platform=efi --disable-efiemu \
--with-platform=pc
make
make DESTDIR="$1" install