Skip to content

Commit 657d600

Browse files
committed
clangarm64: Properly embed manifest file
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 <[email protected]>
1 parent 8b74ed4 commit 657d600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.mak.uname

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ ifeq ($(uname_S),MINGW)
707707
else ifeq (CLANGARM64,$(MSYSTEM))
708708
prefix = /clangarm64
709709
HOST_CPU = aarch64
710-
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
710+
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup,/manifest:embed,/manifestinput:compat/win32/git.manifest
711711
else
712712
COMPAT_CFLAGS += -D_USE_32BIT_TIME_T
713713
BASIC_LDFLAGS += -Wl,--large-address-aware

0 commit comments

Comments
 (0)