Skip to content

Commit fe54757

Browse files
committed
feat: build OpenResty with -Werror
1 parent d4d6b3f commit fe54757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-apisix-base.sh

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

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

0 commit comments

Comments
 (0)