Fix setup of usermode stack and added final system call to exit.

This commit is contained in:
2024-01-27 22:51:45 +01:00
parent 193e3a19dc
commit 3fff3bd8fc
6 changed files with 26 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ AddOption(
target = GetOption('target')
env = Environment(tools = ['default', 'compilation_db'])
env.Append(CCFLAGS = ['-g', '-O0'])
env.Append(CCFLAGS = ['-g', '-O0', '-fno-stack-protector'])
env.Append(CPPDEFINES = ['BASTL_EXTENSIONS=1'])
# env.Append(CCFLAGS = ['-O2'])