Skip to content

Commit

Permalink
feat: build OpenResty with -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander committed Dec 15, 2021
1 parent d4d6b3f commit fe54757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-apisix-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ no_pool_patch=${no_pool_patch:-}

cd openresty-${or_ver} || exit 1
./configure --prefix="$OR_PREFIX" \
--with-cc-opt="-DAPISIX_BASE_VER=$version $cc_opt" \
--with-cc-opt="-DAPISIX_BASE_VER=$version -Werror $cc_opt" \
--with-ld-opt="-Wl,-rpath,$OR_PREFIX/wasmtime-c-api/lib $ld_opt" \
--add-module=../mod_dubbo \
--add-module=../ngx_multi_upstream_module \
Expand Down

0 comments on commit fe54757

Please sign in to comment.