Skip to content

Commit 8d863f7

Browse files
drivermanboythingReal-Septicake
authored andcommitted
Fixed stack canary issue + modified gitignore
1 parent 0ab7284 commit 8d863f7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ mOS
1111
# Emacs
1212
*.~
1313

14+
# Nix
15+
.envrc
16+
.lock
17+
.nix
18+
1419
# Powershell (b/c qemu's fussy)
1520
*.ps1
1621

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ GDB := gdb
1414
endif
1515

1616
ifeq ($(DEBUG), true)
17-
DEBUG_CFLAGS := -g3 -O0
17+
DEBUG_CFLAGS := -g3 -O0 -fno-stack-protector
1818
DEBUG_NASM_FLAGS := -O0
1919
DEBUG_QEMU_FLAGS := -monitor stdio
2020
DEBUG_LFLAGS := -g
2121
else
22-
DEBUG_CFLAGS := -Os
22+
DEBUG_CFLAGS := -Os -fno-stack-protector
2323
DEBUG_NASM_FLAGS := -Ox
2424
DEBUG_QEMU_FLAGS :=
2525
DEBUG_LFLAGS :=

0 commit comments

Comments
 (0)