Browse Source

Cleanup HAIKU compilation instructions (#371)

pull/361/head
miqlas 7 years ago committed by Anders Jenbo
parent
commit
360543703e
  1. 4
      README.md

4
README.md

@ -128,10 +128,12 @@ pkgman install cmake devel:libsdl2 devel:libsdl2_mixer devel:libsdl2_ttf devel:l
### Compiling on 32 bit Haiku ### Compiling on 32 bit Haiku
``` ```
cd build cd build
cmake -DCMAKE_C_COMPILER=gcc-x86 -DCMAKE_CXX_COMPILER=g++-x86 -DBINARY_RELEASE=ON .. setarch x86 #Switch to secondary compiler toolchain (GCC8+)
cmake ..
cmake --build . -j $(nproc) cmake --build . -j $(nproc)
``` ```
### Compiling on 64 bit Haiku ### Compiling on 64 bit Haiku
No setarch required, as there is no secondary toolchain on x86_64, and the primary is GCC8+
``` ```
cd build cd build
cmake .. cmake ..

Loading…
Cancel
Save