diff options
| author | Ada Christine <adachristine18@gmail.com> | 2022-03-19 18:12:29 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2022-03-19 18:12:29 +0000 |
| commit | eb022d780afe1e5e92547b6b3c2369dde1c4cc0b (patch) | |
| tree | 5085c0161ce9f3319a7208edcc6e7e297e0c433a /loader/Makefile | |
| parent | 66d66de4e0050ae00a55ae7003482f8f8af95d97 (diff) | |
_MSC_EXTENSIONS was causing empty definition of __attribute__ leading to calling convention issue in enter_shim
Diffstat (limited to 'loader/Makefile')
| -rw-r--r-- | loader/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/Makefile b/loader/Makefile index d273258..add25e7 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -8,7 +8,8 @@ IMAGE := loader.efi CPPFLAGS += -I../api -I../lib CFLAGS += --target=$(GNUEFIARCH)-unknown-windows -fshort-wchar -mno-avx \ - -mno-sse -mno-mmx -funsigned-char -Wno-pointer-sign -ggdb + -mno-sse -mno-mmx -funsigned-char -Wno-pointer-sign -ggdb \ + -fno-ms-extensions LDFLAGS := --target=$(GNUEFIARCH)-unknown-windows -nostdlib -ggdb \ -Wl,-entry:efi_main,-subsystem:efi_application -fuse-ld=lld-link |
