From 0e832a9329cc4d4647e1ce529846073f21e66991 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 16 Dec 2025 12:55:34 +0100 Subject: Fix several segv issues and improve x86_64 startup code --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 07f101f1..fc9e72f1 100644 --- a/makefile +++ b/makefile @@ -82,7 +82,6 @@ KBUILD_CFLAGS += -fno-PIE KBUILD_CFLAGS += -fstrict-aliasing KBUILD_CFLAGS += -fno-delete-null-pointer-checks -KBUILD_CFLAGS += -flto # Disable overflow optimizations KBUILD_CFLAGS += -fno-strict-overflow @@ -104,6 +103,7 @@ KBUILD_CFLAGS += -g -Og -fno-omit-frame-pointer else KBUILD_CFLAGS += -O2 -fdata-sections -ffunction-sections KBUILD_CFLAGS += -fno-unwind-tables -fomit-frame-pointer +KBUILD_CFLAGS += -flto KBUILD_LDFLAGS += --gc-sections KBUILD_LDFLAGS += --build-id=none -- cgit v1.2.3