diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-22 23:27:56 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-22 23:30:32 +0100 |
| commit | 0f30d227497418c6d3bef7d52244407e30454504 (patch) | |
| tree | 0e1ac19623d3268380cf74328cdf643648a2f43c /makefile | |
| parent | 90dad97fc07f049383903a166631e2c257f9b8c1 (diff) | |
Added c11 threads, fixed some locks and add *_unlocked functions
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -99,7 +99,7 @@ endif KBUILD_LDFLAGS := KBUILD_ASFLAGS := ifeq ($(CONFIG_DEBUG),y) -KBUILD_CFLAGS += -g -Og -fno-omit-frame-pointer +KBUILD_CFLAGS += -g -O0 -fno-omit-frame-pointer -fno-stack-protector else KBUILD_CFLAGS += -O2 -fdata-sections -ffunction-sections KBUILD_CFLAGS += -fno-unwind-tables -fomit-frame-pointer @@ -108,18 +108,18 @@ KBUILD_CFLAGS += -flto KBUILD_LDFLAGS += --gc-sections KBUILD_LDFLAGS += --build-id=none KBUILD_LDFLAGS += --as-needed -KBUILD_LDFLAGS += --strip-all +# KBUILD_LDFLAGS += --strip-all KBUILD_LDFLAGS += -z relro -z now -z noexecstack KBUILD_LDFLAGS += --no-undefined KBUILD_LDFLAGS += --icf=all -KBUILD_ASFLAGS += +KBUILD_ASFLAGS += endif # Assembly does not need -nostdinc; clang warns it is unused. KBUILD_ASFLAGS += -target $(ARCH)-linux-eabi KBUILD_ASFLAGS += -I$(srctree)/include -KBUILD_ASFLAGS += -I$(srctree)/include/arch/$(ARCH) +KUILD_ASFLAGS += -I$(srctree)/include/arch/$(ARCH) PHONY := |
