mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-27 05:34:00 +00:00
浏览器
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user