Fixed debug issues.
This commit is contained in:
parent
cd7a4912af
commit
64e356bb83
|
|
@ -9,8 +9,9 @@
|
|||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"target": "${workspaceFolder}/build/2D_Engine",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"valuesFormatting": "parseText"
|
||||
"cwd": "${workspaceFolder}",
|
||||
"valuesFormatting": "parseText",
|
||||
"preLaunchTask": "Build"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 9b6ac3c1455aa0ac3036cef40db80974aa27410e
|
||||
Subproject commit 2f10b3c1bc8da91c8271495d7b1a45194d02e224
|
||||
|
|
@ -16,5 +16,6 @@ stdenv.mkDerivation {
|
|||
shellHook = ''
|
||||
export LD_LIBRARY_PATH=${pkgs.libpng}/lib:${pkgs.SDL2}/lib:${pkgs.sdl3}/lib:${pkgs.ncurses}/lib:$LD_LIBRARY_PATH
|
||||
export PKG_CONFIG_PATH=${pkgs.libpng}/lib/pkgconfig:${pkgs.SDL2}/lib/pkgconfig:${pkgs.sdl3}/lib/pkgconfig:${pkgs.ncurses}/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
unset TEMP TMP TEMPDIR TMPDIR
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ SOURCES := \
|
|||
# Compiler and flags
|
||||
SRC_CC = gcc
|
||||
#SRC_CFLAGS = --std=c17 --pedantic -O3 # RELEASE
|
||||
SRC_CFLAGS = --std=c17 --pedantic -O1 -g \
|
||||
SRC_CFLAGS = --std=c17 --pedantic -O0 -g \
|
||||
-Wall -Wno-missing-braces -Wextra -Wno-missing-field-initializers \
|
||||
-Wformat=2 -Wswitch-default -Wswitch-enum -Wcast-align \
|
||||
-Wpointer-arith -Wbad-function-cast -Wstrict-overflow=5 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue