diff options
author | Cem Keylan <cem@ckyln.com> | 2020-06-25 10:00:43 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-06-25 10:00:43 +0300 |
commit | 2388d10dc77de186bee4d5133a3560e982b93d70 (patch) | |
tree | 3ee2885a9839879d347b9b17c85cf1f017546d5b /extra/efibootmgr/build | |
parent | 2ac055d2850e4cadd8e0e7b789d5694937c3c0d0 (diff) | |
download | repository-2388d10dc77de186bee4d5133a3560e982b93d70.tar.gz |
efibootmgr: link statically
Diffstat (limited to 'extra/efibootmgr/build')
-rwxr-xr-x | extra/efibootmgr/build | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extra/efibootmgr/build b/extra/efibootmgr/build index e15840ed..4ec986bf 100755 --- a/extra/efibootmgr/build +++ b/extra/efibootmgr/build @@ -1,10 +1,8 @@ #!/bin/sh -e -patch -p1 < efivar.patch +export LDFLAGS="$LDFLAGS -static" -make \ - EXTRA_CFLAGS=-Os \ - EFIDIR=/boot/EFI +make CC="${CC:-cc}" EFIDIR=/boot/efi efibootmgr install -Dm0755 src/efibootmgr "$1/usr/bin/efibootmgr" install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8" |