diff --git a/Makefile b/Makefile index 48ab2e6..b042dc7 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ IMG := kernel8.img TRIPLE := aarch64-none-none-elf SWIFT := swift SWIFT_BUILD_FLAGS := --triple $(TRIPLE) -c release -Xswiftc -Osize \ - --experimental-lto-mode=full -Xswiftc -experimental-hermetic-seal-at-link + --experimental-lto-mode=thin -Xswiftc -experimental-hermetic-seal-at-link LD := clang -fuse-ld=lld LDFLAGS := -target $(TRIPLE) -nostdlib -Xlinker -gc-sections -static OBJCOPY := llvm-objcopy