Remove fcf-protection=full since it doesn't work on arm

This commit is contained in:
dec05eba 2023-07-10 02:06:44 +02:00
parent d6d17e55e0
commit f0710b1e1c

View File

@ -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"