diff --git a/BuildLinux.sh b/BuildLinux.sh index 8d0fab87ab..d0ff7348a0 100755 --- a/BuildLinux.sh +++ b/BuildLinux.sh @@ -130,7 +130,7 @@ fi if [[ -n "${BUILD_DEPS}" ]] then echo "Configuring dependencies..." - BUILD_ARGS="-DDEP_WX_GTK3=ON" + BUILD_ARGS="${DEPS_EXTRA_BUILD_ARGS} -DDEP_WX_GTK3=ON" if [[ -n "${CLEAN_BUILD}" ]] then rm -fr deps/build @@ -164,10 +164,10 @@ then then rm -fr build fi - BUILD_ARGS="" + BUILD_ARGS="${ORCA_EXTRA_BUILD_ARGS}" if [[ -n "${FOUND_GTK3_DEV}" ]] then - BUILD_ARGS="-DSLIC3R_GTK=3" + BUILD_ARGS="${BUILD_ARGS} -DSLIC3R_GTK=3" fi if [[ -n "${BUILD_DEBUG}" ]] then