Skip to content

Commit

Permalink
fixed build error, zlib, x86
Browse files Browse the repository at this point in the history
  • Loading branch information
webfolderio authored Jan 24, 2022
1 parent f28c71a commit 79dc11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-x86.sh
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ if [ ! -f $INSTALL_PATH/lib/libz.a ]; then
wget https://zlib.net/zlib-1.2.11.tar.gz
tar -xf zlib-1.2.11.tar.gz
cd zlib-1.2.11
CC=i686-w64-mingw32-gcc ./configure -arch i386 --static --prefix=$INSTALL_PATH
CC="i686-w64-mingw32-gcc -m32 -march=i686" ./configure --static --prefix=$INSTALL_PATH
(($? != 0)) && { printf '%s\n' "[zlib] configure failed"; exit 1; }
make
(($? != 0)) && { printf '%s\n' "[zlib] make failed"; exit 1; }
Expand Down

0 comments on commit 79dc11b

Please sign in to comment.