File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 45
45
run : |
46
46
wget https://raw.githubusercontent.com/api7/apisix-build-tools/master/build-apisix-base.sh
47
47
chmod +x build-apisix-base.sh
48
- OR_PREFIX=$OPENRESTY_PREFIX CC="clang -fsanitize=address -fcolor-diagnostics -Qunused-arguments " \
48
+ OR_PREFIX=$OPENRESTY_PREFIX CC="gcc -fsanitize=address -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-unused-parameter " \
49
49
cc_opt="-Werror" ./build-apisix-base.sh latest
50
50
51
51
Original file line number Diff line number Diff line change 52
52
53
53
export cc_opt="-I${openssl_prefix}/include -Werror"
54
54
export ld_opt="-L${openssl_prefix}/lib64 -Wl,-rpath,${openssl_prefix}/lib64"
55
- OR_PREFIX=$OPENRESTY_PREFIX CC="clang -fsanitize=address -fcolor-diagnostics -Qunused-arguments " \
55
+ OR_PREFIX=$OPENRESTY_PREFIX CC="gcc -fsanitize=address -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-unused-parameter " \
56
56
./build-apisix-base.sh latest
57
57
58
58
- name : Script
You can’t perform that action at this time.
0 commit comments