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