浏览器

This commit is contained in:
2026-04-25 14:24:07 +08:00
parent b84e4ad56e
commit 7d50586a4e
8 changed files with 2726 additions and 6 deletions

View File

@@ -169,7 +169,7 @@ set(USER_CFLAGS
"-I${CMAKE_SOURCE_DIR}/cleonos/c/include"
)
set(USER_CFLAGS_DOOM
set(USER_CFLAGS_DOOM
-std=c11
-ffreestanding
-fno-stack-protector
@@ -184,8 +184,25 @@ set(USER_CFLAGS_DOOM
-D_POSIX_C_SOURCE=200809L
"-I${CMAKE_SOURCE_DIR}/cleonos/third-party/doomgeneric/doomgeneric"
"-include"
"${CMAKE_SOURCE_DIR}/cleonos/c/apps/doom/doom_shim.h"
)
"${CMAKE_SOURCE_DIR}/cleonos/c/apps/doom/doom_shim.h"
)
set(USER_CFLAGS_BROWSER
-std=c11
-ffreestanding
-fno-stack-protector
-fno-builtin
-Wall
-Wextra
-Wno-error
-Wno-unused-parameter
-Wno-sign-compare
-Wno-missing-field-initializers
-DNDEBUG
"-I${CMAKE_SOURCE_DIR}/cleonos/c/include"
"-I${CMAKE_SOURCE_DIR}/cleonos/third-party/litehtml/src/gumbo/include"
"-I${CMAKE_SOURCE_DIR}/cleonos/third-party/litehtml/src/gumbo/include/gumbo"
)
set(USER_LDFLAGS
-nostdlib