Skip to content

Commit 615f04e

Browse files
committed
Fix gcc version incompatbility with boost libs
1 parent baca1bf commit 615f04e

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

build.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ set -ex
44
export CC=gcc-4.9
55
export CXX=g++-4.9
66

7+
# Get Boost static libs
8+
# Had to rebuild them using later GCC version. It breaks otherwise.
9+
wget https://github.com/cpp3ds/3ds-tools/releases/download/r1/boost-libs.tar.xz
10+
tar xaf boost-libs.tar.xz
11+
12+
# Build nihstro
13+
git clone https://github.com/neobrain/nihstro.git
14+
cd nihstro && cmake -DBoost_USE_STATIC_LIBS=ON -DBOOST_LIBRARYDIR=$TRAVIS_BUILD_DIR/boost-libs . && make -j4 nihstro-assemble && cd -
15+
716
# Build makerom (commit 80d3d99)
817
git clone https://github.com/profi200/Project_CTR.git
918
cd Project_CTR/makerom && git reset --hard 80d3d99 && make -j4 && cd -
@@ -15,7 +24,3 @@ cd 3dstools && ./autogen.sh && ./configure && make -j4 && cd -
1524
# Build latest bannertool
1625
git clone https://github.com/Steveice10/bannertool.git
1726
cd bannertool && cmake . && make -j4 && cd -
18-
19-
# Build nihstro
20-
git clone https://github.com/neobrain/nihstro.git
21-
cd nihstro && cmake -DBoost_USE_STATIC_LIBS=ON . && make -j4 && cd -

0 commit comments

Comments
 (0)