std=c99
This commit is contained in:
parent
d873ee19c1
commit
cc38e36ea2
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@ -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,
|
||||
|
||||
2
build.sh
2
build.sh
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user