Compare commits

...

2 Commits

Author SHA1 Message Date
4002a222f5 Merge branch 'main' of https://timerix.ddns.net/git/Timerix/cbuild-c 2025-04-25 19:29:17 +05:00
cc38e36ea2 std=c99 2025-04-25 19:27:59 +05:00
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"