diff --git a/cpp/build.sh b/cpp/build.sh index 6353e59e2d..53486a45e2 100755 --- a/cpp/build.sh +++ b/cpp/build.sh @@ -26,7 +26,7 @@ usage: exit 0 ;; ?) - echo "unkonw argument" + echo "unknown argument" exit 1 ;; esac @@ -52,3 +52,7 @@ ${CMAKE_CMD} make clean && make -j || exit 1 +if [[ ${BUILD_TYPE} != "Debug" ]]; then + strip src/vecwise_server +fi +