diff --git a/script/archive-standalone-nix.sh b/script/archive-standalone-nix.sh index d3c05cd84..94a3f930b 100755 --- a/script/archive-standalone-nix.sh +++ b/script/archive-standalone-nix.sh @@ -69,7 +69,7 @@ else ${SCRIPTDIR}/clean-nix.sh rm -rf bin/ 2> /dev/null ./script/stage-vendor-libraries.sh || exit $? - cmake ${CMAKE_TOOLCHAIN} -DCMAKE_BUILD_TYPE=Release -DBUILD_STANDALONE=true ${OS_SPECIFIC_BUILD_FLAGS} . || exit $? + cmake ${CMAKE_TOOLCHAIN} -DCMAKE_BUILD_TYPE=Release -DBUILD_STANDALONE=true -DENABLE_PCH=true ${OS_SPECIFIC_BUILD_FLAGS} . || exit $? make ${JOBS} || exit $? fi