aboutsummaryrefslogtreecommitdiff
path: root/i686/toolchain.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-10-29 11:26:44 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-10-29 11:26:44 +0300
commitc4fcc92183c55db868d0d6ae53e6009fb2e53ee5 (patch)
treead5ef50aa07465e11f779c4482e20e6071182e9c /i686/toolchain.mk
parentmakefile: add libk target (diff)
downloadkernel-c4fcc92183c55db868d0d6ae53e6009fb2e53ee5.tar.xz
makefile: add i686/arch.a target
Diffstat (limited to 'i686/toolchain.mk')
-rw-r--r--i686/toolchain.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/i686/toolchain.mk b/i686/toolchain.mk
index 884369c..c41c784 100644
--- a/i686/toolchain.mk
+++ b/i686/toolchain.mk
@@ -1,10 +1,12 @@
# define compiler, linker, archiver and strip and their flags
#
+AS = i686-elf-as
CC = i686-elf-gcc
CCFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -ffreestanding
LD = i686-elf-ld
LDFLAGS = -nostdlib
AR = i686-elf-ar
+ARFLAGS = r
STRIP = i686-elf-strip