Browse Source

VSCode: Added missing -O2 compiler flag for all targets

pull/3/head
Dimitris Panokostas 6 months ago
parent
commit
3eb729d573
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      zz9k-loader/.vscode/tasks.json

+ 4
- 4
zz9k-loader/.vscode/tasks.json View File

@@ -7,13 +7,13 @@
"label": "Build",
"type": "shell",
"windows": {
"command": "vc +aos68k -ID:/vbcc/cybergraphics/include -o ./zz9k ./zz9k.c -c99 -lamiga -lauto"
"command": "vc +aos68k -ID:/vbcc/cybergraphics/include -c99 -O2 -o ./zz9k ./zz9k.c -lamiga -lauto"
},
"osx": {
"command": "vc +aos68k -I/opt/vbcc/cybergraphics/include -o ./zz9k ./zz9k.c -c99 -lamiga -lauto"
"command": "vc +aos68k -I/opt/vbcc/cybergraphics/include -c99 -O2 -o ./zz9k ./zz9k.c -lamiga -lauto"
},
"linux": {
"command": "vc +aos68k -I/opt/vbcc/cybergraphics/include -o ./zz9k ./zz9k.c -c99 -lamiga -lauto"
"command": "vc +aos68k -I/opt/vbcc/cybergraphics/include -c99 -O2 -o ./zz9k ./zz9k.c -lamiga -lauto"
},
"group": {
"kind": "build",
@@ -24,7 +24,7 @@
"label": "Clean",
"type": "shell",
"windows": {
"command": "del .\\zz9k"
"command": "del ./zz9k"
},
"osx": {
"command": "rm ./zz9k"

Loading…
Cancel
Save