Skip to content

Commit

Permalink
clangarm64: Properly embed manifest file
Browse files Browse the repository at this point in the history
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 <mha1993@live.de>
  • Loading branch information
rimrul committed Nov 29, 2023
1 parent 8b74ed4 commit 657d600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.mak.uname
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 657d600

Please sign in to comment.