From 6665f6c349f3ed13def1d1a720e82ffc895f9188 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Thu, 28 Jan 2021 11:09:25 +1000 Subject: [PATCH] Another ppc attempt --- recipe/build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipe/build.sh b/recipe/build.sh index fdf6fa4..56656cb 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -3,6 +3,12 @@ mkdir build cd build +if [ ${target_platform} == "linux-ppc64le" ]; then + WARNING_FLAGS=-DCMAKE_CXX_FLAGS="-Wno-deprecated-copy" +else + WARNING_FLAGS= +fi + cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=$PREFIX \ @@ -19,7 +25,8 @@ cmake .. \ -DOGRE_INSTALL_PDB=FALSE \ -DOGRE_RESOURCEMANAGER_STRICT=0 \ -DOGRE_CONFIG_THREAD_PROVIDER="std" \ - -DOGRE_BUILD_LIBS_AS_FRAMEWORKS=0 + -DOGRE_BUILD_LIBS_AS_FRAMEWORKS=0 \ + ${WARNING_FLAGS} if [ ${target_platform} == "linux-ppc64le" ]; then make -j${CPU_COUNT} >/dev/null || make