From f80b6c2a5e026582ad59ad51140ae919783a29ab Mon Sep 17 00:00:00 2001 From: Fireatoms Date: Fri, 3 Sep 2021 10:57:37 +0800 Subject: [PATCH] Enable pch and unity option in compiling process of rpm mode in order to keep consistent with other modes. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 2d405a681..6d1485fd9 100755 --- a/build.sh +++ b/build.sh @@ -116,7 +116,7 @@ function build do_build "$@" -DCMAKE_BUILD_TYPE=Debug ;; xrpm) - do_build "$@" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOB_USE_CCACHE=OFF -DOB_COMPRESS_DEBUG_SECTIONS=ON -DOB_STATIC_LINK_LGPL_DEPS=OFF -DOB_ENABLE_PCH=OFF -DOB_ENALBE_UNITY=OFF + do_build "$@" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOB_USE_CCACHE=OFF -DOB_COMPRESS_DEBUG_SECTIONS=ON -DOB_STATIC_LINK_LGPL_DEPS=OFF ;; *) BUILD_ARGS=(debug "${BUILD_ARGS[@]}")