This commit is contained in:
Timerix 2025-04-25 19:27:59 +05:00
parent d873ee19c1
commit cc38e36ea2
2 changed files with 2 additions and 4 deletions

4
.vscode/launch.json vendored
View File

@ -6,12 +6,10 @@
"type": "cppdbg",
"request": "launch",
"cwd": "${workspaceFolder}/bin",
"program": "${workspaceFolder}/bin/cbuild",
"windows": {
"program": "${workspaceFolder}\\bin\\cbuild.exe",
},
"linux": {
"program": "${workspaceFolder}/bin/cbuild",
},
"args": [ "-p", "../example.proj.dtsod", "exe"],
"preLaunchTask": "build",
"stopAtEntry": false,

View File

@ -3,7 +3,7 @@ set -eo pipefail
CONFIG_DIR="/etc/cbuild"
CMP="gcc"
WARN="-Wall -Wextra -Wno-discarded-qualifiers -Wno-unused-parameter"
WARN="-std=c99 -Wall -Wextra -Wno-discarded-qualifiers -Wno-unused-parameter"
ARGS_DEBUG="-O0 -g"
ARGS_RELEASE="-O2 -flto=auto -fdata-sections -ffunction-sections -Wl,--gc-sections"