diff --git a/tools/gen_sdk_package_pbzx.sh b/tools/gen_sdk_package_pbzx.sh index d741550..5ca46e4 100755 --- a/tools/gen_sdk_package_pbzx.sh +++ b/tools/gen_sdk_package_pbzx.sh @@ -27,7 +27,8 @@ get_sources https://github.com/tpoechtrager/pbzx.git master if [ $f_res -eq 1 ]; then pushd $CURRENT_BUILD_PROJECT_NAME &>/dev/null mkdir -p $TARGET_DIR_SDK_TOOLS/bin - verbose_cmd $CC -I $TARGET_DIR/include -L $TARGET_DIR/lib pbzx.c \ + verbose_cmd $CC -O2 -Wall \ + -I $TARGET_DIR/include -L $TARGET_DIR/lib pbzx.c \ -o $TARGET_DIR_SDK_TOOLS/bin/pbzx -llzma -lxar \ -Wl,-rpath,$TARGET_DIR/lib build_success