From 360543703ef2eb2f48c3b98ea85f080acfa1841b Mon Sep 17 00:00:00 2001 From: miqlas <5569059+extrowerk@users.noreply.github.com> Date: Fri, 18 Oct 2019 09:47:07 +0200 Subject: [PATCH] Cleanup HAIKU compilation instructions (#371) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 918e15e87..352d199e4 100644 --- a/README.md +++ b/README.md @@ -128,10 +128,12 @@ pkgman install cmake devel:libsdl2 devel:libsdl2_mixer devel:libsdl2_ttf devel:l ### Compiling on 32 bit Haiku ``` 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) ``` ### Compiling on 64 bit Haiku +No setarch required, as there is no secondary toolchain on x86_64, and the primary is GCC8+ ``` cd build cmake ..