summaryrefslogtreecommitdiffstats
path: root/meta-linaro/recipes-extra/efibootmgr/files/ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro/recipes-extra/efibootmgr/files/ldflags.patch')
-rw-r--r--meta-linaro/recipes-extra/efibootmgr/files/ldflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/efibootmgr/files/ldflags.patch b/meta-linaro/recipes-extra/efibootmgr/files/ldflags.patch
new file mode 100644
index 0000000..3207920
--- /dev/null
+++ b/meta-linaro/recipes-extra/efibootmgr/files/ldflags.patch
@@ -0,0 +1,11 @@
1--- efibootmgr-0.5.4.orig/Makefile
2+++ efibootmgr-0.5.4/Makefile
3@@ -11,6 +11,8 @@
4 CFLAGS = $(EXTRA_CFLAGS) -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR).$(RELEASE_SUBLEVEL)$(RELEASE_EXTRALEVEL)\" \
5 -Wall -g -D_FILE_OFFSET_BITS=64
6
7+ LDFLAGS += -lz
8+
9 MODULES := src
10
11 BINDIR := /usr/sbin