use cStandard to set -std= flag instead of explicitly including it

This commit is contained in:
Alison Winters 2021-03-09 01:17:05 -08:00
parent 064c32f4e3
commit 5fdc23cb07

View file

@ -68,8 +68,7 @@
"includePath": [
"${workspaceFolder}"
],
"cStandard": "c11",
"cppStandard": "c++11",
"cStandard": "gnu17",
"compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc",
"compilerArgs": [
"-Wall",
@ -95,7 +94,6 @@
"-fstrict-overflow",
"-fno-semantic-interposition",
"-mno-omit-leaf-frame-pointer",
"-std=gnu2x",
"-fno-jump-tables",
"-nostdinc",
"-iquote."
@ -111,4 +109,4 @@
}
],
"version": 4
}
}