For those OSes that has it enabled by default Signed-off-by: Álvaro Jurado <elbingmiss@gmail.com>
@@ -4,6 +4,7 @@
"-ffreestanding",
"-fno-builtin",
"-fno-omit-frame-pointer",
+ "-fno-stack-protector",
"-g",
"-gdwarf-2",
"-ggdb",
@@ -6,6 +6,7 @@
"-mno-red-zone",
"-Wall",
"-Werror",
"-g"
@@ -2,6 +2,8 @@
"core": {
"Cflags": [
"-fno-stack-protector",
+ "-mindirect-branch=keep",
+ "-mfunction-return=keep",
"-mcmodel=kernel",
"-O0",
"-static",