Skip to content

Commit

Permalink
xorg-server: limit YeeLoong patch to loongson2f; -fcommon for loongson3
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai committed Mar 20, 2021
1 parent 0c3df38 commit 451fdde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extra-x11/xorg-server/autobuild/prepare
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
abinfo "Appending -Wno-error=array-bounds to fix build ..."
export CFLAGS="${CFLAGS} -Wno-error=array-bounds"

if [[ "${CROSS:-$ARCH}" = "loongson3" ]]; then
abinfo "Appending -fcommon to fix build ..."
export CFLAGS="${CFLAGS} -fcommon"
fi

0 comments on commit 451fdde

Please sign in to comment.