Skip to content

Commit dd33c04

Browse files
DEB_LDFLAGS_MAINT_STRIP=-Wl,-Bsymbolic-functions
1 parent 97d49ef commit dd33c04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/check-pr.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
run: |
1515
echo NGINX_CONFIGURE_CMD="auto/configure --prefix=/tmp --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-select_module --with-poll_module --with-http_auth_request_module --with-http_v2_module --with-http_slice_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-threads --with-cpp_test_module --with-compat --with-http_degradation_module --with-http_xslt_module --with-http_image_filter_module --with-http_perl_module --with-http_geoip_module --with-stream_geoip_module" >> $GITHUB_ENV
1616
export DEB_BUILD_MAINT_OPTIONS="hardening=+all"
17+
export DEB_LDFLAGS_MAINT_STRIP=-Wl,-Bsymbolic-functions
1718
export DEB_CFLAGS_MAINT_APPEND="-fPIC"
1819
export DEB_LDFLAGS_MAINT_APPEND=""-Wl,--as-needed""
1920
echo CC_OPT=$(dpkg-buildflags --get CFLAGS) >> $GITHUB_ENV
@@ -222,7 +223,7 @@ jobs:
222223
- name: Configure and build nginx and njs modules with quickjs-ng, asan, dynamic modules
223224
run: |
224225
cd nginx-source
225-
$NGINX_CONFIGURE_CMD --with-debug --with-cc-opt="$CC_OPT -I${{ github.workspace }}/quickjs-ng -fsanitize=address -DNJS_DEBUG_MEMORY -DNGX_DEBUG_PALLOC -DNGX_DEBUG_MALLOC" --with-ld-opt="$LD_OPT -Wl,-Bsymbolic -L${{ github.workspace }}/quickjs-ng/build -fsanitize=address" --add-dynamic-module=../nginx || cat objs/autoconf.err
226+
$NGINX_CONFIGURE_CMD --with-debug --with-cc-opt="$CC_OPT -I${{ github.workspace }}/quickjs-ng -fsanitize=address -DNJS_DEBUG_MEMORY -DNGX_DEBUG_PALLOC -DNGX_DEBUG_MALLOC" --with-ld-opt="$LD_OPT -L${{ github.workspace }}/quickjs-ng/build -fsanitize=address" --add-dynamic-module=../nginx || cat objs/autoconf.err
226227
$MAKE_UTILITY -j$(nproc) modules
227228
$MAKE_UTILITY -j$(nproc)
228229

0 commit comments

Comments
 (0)