Skip to content

Commit

Permalink
Fix x/davs2 configure for recent binutils+gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Oct 30, 2022
1 parent cf6565e commit 768ded5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts.d/50-davs2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ ffbuild_dockerbuild() {
return -1
fi

# Work around configure endian check failing on modern gcc/binutils.
# Assumes all supported archs are little endian.
sed -i -e 's/EGIB/bss/g' -e 's/naidnePF/bss/g' configure

./configure "${myconf[@]}"
make -j$(nproc)
make install
Expand Down
4 changes: 4 additions & 0 deletions scripts.d/50-xavs2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ ffbuild_dockerbuild() {
return -1
fi

# Work around configure endian check failing on modern gcc/binutils.
# Assumes all supported archs are little endian.
sed -i -e 's/EGIB/bss/g' -e 's/naidnePF/bss/g' configure

./configure "${myconf[@]}"
make -j$(nproc)
make install
Expand Down

0 comments on commit 768ded5

Please sign in to comment.