Skip to content

Commit 66d22c7

Browse files
committed
feat: build OpenResty with -Werror
1 parent 4062f0d commit 66d22c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-apisix-openresty.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ no_pool_patch=${no_pool_patch:-}
7171

7272
cd openresty-${or_ver} || exit 1
7373
./configure --prefix="$OR_PREFIX" \
74-
--with-cc-opt="-DAPISIX_OPENRESTY_VER=$version $cc_opt" \
74+
--with-cc-opt="-DAPISIX_OPENRESTY_VER=$version -Werror $cc_opt" \
7575
--with-ld-opt="$ld_opt" \
7676
--add-module=../mod_dubbo \
7777
--add-module=../ngx_multi_upstream_module \

0 commit comments

Comments
 (0)