From f0710b1e1c0e1116f6e97a7eca78dec23005a052 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 10 Jul 2023 02:06:44 +0200 Subject: [PATCH] Remove fcf-protection=full since it doesn't work on arm --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3cf6b5f..f3e78ed 100755 --- a/build.sh +++ b/build.sh @@ -7,7 +7,8 @@ opts="-O2 -g0 -DNDEBUG -Wall -Wextra" [ -n "$DEBUG" ] && opts="-O0 -g3 -Wall -Wextra"; build_gsr_kms_server() { - extra_opts="-fstack-protector-all -fcf-protection=full" + # TODO: -fcf-protection=full, not supported on arm + extra_opts="-fstack-protector-all" dependencies="libdrm" includes="$(pkg-config --cflags $dependencies)" libs="$(pkg-config --libs $dependencies) -ldl"