2017-08-16 00:45:45 +02:00
|
|
|
From ca8aaded0c7c3900397029bd9520132b62629308 Mon Sep 17 00:00:00 2001
|
2017-06-12 15:16:41 +02:00
|
|
|
From: =?UTF-8?q?Beno=C3=AEt=20Allard?= <benoit.allard@greenbone.net>
|
|
|
|
Date: Mon, 12 Jun 2017 14:59:16 +0200
|
|
|
|
Subject: [PATCH] efi/wrapper: build it with the host toolchain.
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
The wrapper program is executed on the build machine, so it should be
|
|
|
|
built with CC_FOR_BUILD.
|
|
|
|
|
|
|
|
Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
|
|
|
|
---
|
|
|
|
efi/Makefile | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/efi/Makefile b/efi/Makefile
|
2017-08-16 00:45:45 +02:00
|
|
|
index d5443bd5..d24d16db 100644
|
2017-06-12 15:16:41 +02:00
|
|
|
--- a/efi/Makefile
|
|
|
|
+++ b/efi/Makefile
|
2017-08-16 00:45:45 +02:00
|
|
|
@@ -79,7 +79,7 @@ syslinux.so: $(OBJS) $(CORE_OBJS) $(LIB_OBJS)
|
2017-06-12 15:16:41 +02:00
|
|
|
# cp $^ $@
|
|
|
|
|
|
|
|
wrapper: wrapper.c
|
|
|
|
- $(CC) $^ -o $@
|
|
|
|
+ $(CC_FOR_BUILD) $^ -o $@
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build the wrapper app and wrap our .so to produce a .efi
|
|
|
|
--
|
2017-08-16 00:45:45 +02:00
|
|
|
2.13.3
|
2017-06-12 15:16:41 +02:00
|
|
|
|