From 657d60057b447663d7075b943aa2eb68ccc3ca32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20A=C3=9Fhauer?= Date: Wed, 29 Nov 2023 20:03:53 +0100 Subject: [PATCH] clangarm64: Properly embed manifest file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our Clang based toolchain does not currently embed our manifest file in a way that Windows understands. Explicitly tell Clang that we want LLD to embed a manifest file. Signed-off-by: Matthias Aßhauer --- config.mak.uname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mak.uname b/config.mak.uname index 61ba443865a026..457a64e738d060 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -707,7 +707,7 @@ ifeq ($(uname_S),MINGW) else ifeq (CLANGARM64,$(MSYSTEM)) prefix = /clangarm64 HOST_CPU = aarch64 - BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup + BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup,/manifest:embed,/manifestinput:compat/win32/git.manifest else COMPAT_CFLAGS += -D_USE_32BIT_TIME_T BASIC_LDFLAGS += -Wl,--large-address-aware