Skip to content

Commit

Permalink
build: change --experimental-lto-mode from full to thin because…
Browse files Browse the repository at this point in the history
… `print()` doesn't work
  • Loading branch information
kkebo committed Aug 14, 2024
1 parent 102cdb4 commit cd4e712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd4e712

Please sign in to comment.