aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-10 02:06:44 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-10 02:06:44 +0200
commitf0710b1e1c0e1116f6e97a7eca78dec23005a052 (patch)
treeda245d1a32fceda548a68b40e7bebdbfb496d362 /build.sh
parentd6d17e55e0fd9aeebc418b2c7b9f25b99492b9dc (diff)
Remove fcf-protection=full since it doesn't work on arm
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
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"