From 0fc5be1c91be5a2da53bfba58ebe690993448640 Mon Sep 17 00:00:00 2001 From: aqua Date: Sat, 29 Oct 2022 14:57:25 +0300 Subject: makefile: add src/kernel.a target --- i686/toolchain.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'i686/toolchain.mk') diff --git a/i686/toolchain.mk b/i686/toolchain.mk index c41c784..5842584 100644 --- a/i686/toolchain.mk +++ b/i686/toolchain.mk @@ -2,11 +2,11 @@ # AS = i686-elf-as CC = i686-elf-gcc -CCFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -ffreestanding +CCFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -ffreestanding -std=gnu11 -mgeneral-regs-only LD = i686-elf-ld -LDFLAGS = -nostdlib +LDFLAGS = -static -nostdlib AR = i686-elf-ar -ARFLAGS = r +ARFLAGS = -ruv STRIP = i686-elf-strip -- cgit v1.2.1