Enable pch and unity option in compiling process of rpm mode in order to keep consistent with other modes.
This commit is contained in:
parent
b6aa346563
commit
f80b6c2a5e
2
build.sh
2
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[@]}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user