From 378972285342f52bb71822d87ba261b76b4a42ed Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Sat, 28 Mar 2026 14:55:53 +0700 Subject: Cmake build type at the generation stage Fix in *nasm* files - set architecture bitness. Move compiler flags from *toolchain* file to *requirements target* considering cmake files. This solution allows available of multi-configurations generators to pass compiler options without affecting on single-configuration generators. TODO - Debug information - Image creation - Build under window platform (optional) Signed-off-by: Alexey Gavrilov --- arch/x86/boot.nasm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/x86/boot.nasm') diff --git a/arch/x86/boot.nasm b/arch/x86/boot.nasm index 11175af..d250434 100644 --- a/arch/x86/boot.nasm +++ b/arch/x86/boot.nasm @@ -1,3 +1,4 @@ +BITS 32 section .text extern main, _estack, _init global _start:function @@ -13,4 +14,3 @@ _start: cli .hang: hlt jmp .hang -; .end: -- cgit v1.2.3