diff options
Diffstat (limited to '0003-no-stack-protector.patch')
-rw-r--r-- | 0003-no-stack-protector.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/0003-no-stack-protector.patch b/0003-no-stack-protector.patch new file mode 100644 index 000000000000..20fefcabb790 --- /dev/null +++ b/0003-no-stack-protector.patch @@ -0,0 +1,13 @@ +diff --git a/compile.sh b/compile.sh +index cf379e5..cc6119d 100755 +--- a/compile.sh ++++ b/compile.sh +@@ -3,7 +3,7 @@ + set -e + set -v + +-CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror" ++CFLAGS="-fno-builtin -fno-stack-protector -nostdinc -O2 -I. -Wall -Werror" + LDFLAGS="-nostdlib -Wl,-N -Wl,-Ttext -Wl,100000 -Wl,--build-id=none" + gcc $CFLAGS -c keyboard.c + gcc $CFLAGS -c delay.c |