Skip to content

Commit

Permalink
fix for eaf compilation on 32bit archs
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra committed Feb 18, 2025
1 parent 7d6de97 commit bc6b362
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/tools/eaf32bit_patch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
rm -f eaf32bit.patch
wget -O - https://github.com/GlobalArrays/ga/commit/2554b4431087c43f411f3e59426b83f6e9c48bd1.patch | sed -e 's/ a\/pario/ '$1'\/pario/' | sed -e 's/ b\/pario/ '$1'\/pario/' > eaf32bit.patch
patch -p0 -s -N < eaf32bit.patch
echo eaf32bit.patch applied
3 changes: 2 additions & 1 deletion src/tools/get-tools-github
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ GOTMINGW64=` $CC -dM -E - </dev/null 2> /dev/null |grep MINGW64|cut -c21 `
if [[ -d "ga-5.9" ]]; then
if [[ ! -f "ga-5.9/patched59" ]]; then
./gasparse_patch.sh $GA_DIR
./eaf32bit_patch.sh $GA_DIR
echo patched
touch ga-59/patched59
touch ga-5.9/patched59
fi
fi
#if [ ! -z "$GOTMINGW64" ]
Expand Down

0 comments on commit bc6b362

Please sign in to comment.