Skip to content

Commit 08b33b6

Browse files
committed
Added -j to make to avoid make error
1 parent bd5fb57 commit 08b33b6

2 files changed

+4
-4
lines changed

unix/BTH/install-windows-32bit-crosscompile.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sudo apt install build-essential libtool autotools-dev automake pkg-config bsdma
55
sudo apt install nsis -y
66

77
# Set the default mingw32 g++ compiler option to posix.
8-
sudo update-alternatives --config i686-w64-mingw32-g++ -y
8+
sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev -y
99

1010
# Lib boost
1111
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev -y
@@ -49,5 +49,5 @@ make HOST=i686-w64-mingw32
4949
cd ..
5050
./autogen.sh
5151
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/
52-
make
52+
make -j
5353
make deploy

unix/BTH/install-windows-64bit-crosscompile.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sudo apt-get install automake pkg-config bsdmainutils python3 -y
2323
sudo apt-get install libx11-xcb-dev libfontconfig-dev -y
2424

2525
# Set the default mingw32 g++ compiler option to posix.
26-
sudo update-alternatives --config x86_64-w64-mingw32-g++ -y
26+
sudo apt install g++-mingw-w64-x86-64 -y
2727

2828
# Install BerkelyDB
2929
sudo apt-get install software-properties-common -y
@@ -49,5 +49,5 @@ make HOST=x86_64-w64-mingw32
4949
cd ..
5050
./autogen.sh
5151
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
52-
make
52+
make -j
5353
make deploy

0 commit comments

Comments
 (0)