diff options
Diffstat (limited to 'toolchain.makefile')
-rw-r--r-- | toolchain.makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain.makefile b/toolchain.makefile index c3ac2d8..d8f09f7 100644 --- a/toolchain.makefile +++ b/toolchain.makefile @@ -8,13 +8,13 @@ AS := clang AS_FLAGS := LD := ld.lld -LD_FLAGS := +LD_FLAGS := -T linker.ld --thinlto-cache-dir=$(OBJ_DIR)/thinlto_cache CXX := clang++ TEST_CXX := clang++ CXX_FLAGS := -std=c++20 -g \ -mkernel -ffreestanding -nostdlib -nostdinc -nostdinc++ \ - -Wall -Wextra -Werror=pedantic -O2 \ + -Wall -Wextra -Werror=pedantic -O2 -flto=thin \ -Werror=date-time \ -Werror=shadow-all \ -Wold-style-cast -Wconversion \ |