diff --git a/build.sh b/build.sh index da75e3f57c..98bdbdff8f 100755 --- a/build.sh +++ b/build.sh @@ -16,7 +16,13 @@ #set -e # This terminates the script in case of any error +arch64Build=$(uname -a | grep ARCH) +if [[ -e "arch64Build" ]]; then +#add flags for archlinux +flags=(-DCMAKE_BUILD_PO=FALSE -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config32-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8') +else flags=(-DCMAKE_BUILD_PO=FALSE) +fi cleanBuild=0 useClang=0