From b8bcbd9af5d0ec999978f6a8edfb79a65deca232 Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 8 Feb 2022 17:43:03 +0100 Subject: [PATCH] For the moment nnly accept --crashreporting when building a windows viewer. Bugsplat on OSX yields in an unusable viewer (FIRE-31306) and Linux is without crash reporting. --- scripts/configure_firestorm.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/configure_firestorm.sh b/scripts/configure_firestorm.sh index fb06b8c0e1..11e396faea 100755 --- a/scripts/configure_firestorm.sh +++ b/scripts/configure_firestorm.sh @@ -80,7 +80,7 @@ showUsage() echo " --avx : Build with Advanced Vector Extensions" echo " --avx2 : Build with Advanced Vector Extensions 2" echo " --tracy : Build with Tracy Profiler support" - echo " --crashreporting : Build with crash reporting enabled" + echo " --crashreporting : Build with crash reporting enabled (Windows only)" echo " --testbuild : Create time-limited test build (build date + )" echo " --platform : Build for specified platform (darwin | windows | linux)" echo " --jobs : Build with jobs in parallel (Linux and Darwin only)" @@ -301,6 +301,15 @@ if [ ! -d `dirname "$LOG"` ] ; then mkdir -p `dirname "$LOG"` fi +if [ $TARGET_PLATFORM != "windows" ] +then + if [ $WANTS_CRASHREPORTING -eq $TRUE ] + then + echo "--crashreporting is not supported on this platform" + WANTS_CRASHREPORTING=$FALSE + fi +fi + echo -e "configure_firestorm.sh" > $LOG echo -e " PLATFORM: $TARGET_PLATFORM" | tee -a $LOG echo -e " KDU: `b2a $WANTS_KDU`" | tee -a $LOG