community/gjs: fix build failed on loongarch64

This commit is contained in:
znley 2024-04-30 07:26:12 +00:00 committed by Natanael Copa
parent c0f582d5a1
commit aa2eb801a3

View File

@ -36,7 +36,7 @@ esac
build() {
case "$CARCH" in
aarch64|arm*|riscv64)
aarch64|arm*|riscv64|loongarch64)
# not supported by clang here
export CFLAGS="${CFLAGS/-fstack-clash-protection}"
export CXXFLAGS="${CXXFLAGS/-fstack-clash-protection}"