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 Jul 22, 2021
1 parent f6683f8 commit 2cc7b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-apisix-openresty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ no_pool_patch=${no_pool_patch:-}

cd openresty-${or_ver} || exit 1
./configure --prefix="$OR_PREFIX" \
--with-cc-opt="-DAPISIX_OPENRESTY_VER=$version $cc_opt" \
--with-cc-opt="-DAPISIX_OPENRESTY_VER=$version -Werror $cc_opt" \
--with-ld-opt="$ld_opt" \
--add-module=../mod_dubbo \
--add-module=../ngx_multi_upstream_module \
Expand Down

0 comments on commit 2cc7b13

Please sign in to comment.