Skip to content

Commit 12afd0c

Browse files
committed
Switch to sanitize CFLAGS for community build
PHP-8.0 doesn't support those flags, we can switch once we drop that build.
1 parent c083efb commit 12afd0c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,8 @@ jobs:
215215
configurationParameters: >-
216216
--enable-debug
217217
--enable-zts
218-
--enable-address-sanitizer
219-
--enable-undefined-sanitizer
220-
CFLAGS='-DZEND_TRACK_ARENA_ALLOC -fno-sanitize-recover'
218+
CFLAGS='-fsanitize=undefined,address -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC'
219+
LDFLAGS='-fsanitize=undefined,address'
221220
- name: make
222221
run: make -j$(/usr/bin/nproc) >/dev/null
223222
- name: make install

0 commit comments

Comments
 (0)