Skip to content

Commit 586902c

Browse files
committed
Add -Wno-implicit-fallthrough compiler flag for OpCache
1 parent 3340b79 commit 586902c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ int main() {
313313
shared_alloc_mmap.c \
314314
shared_alloc_posix.c \
315315
$ZEND_JIT_SRC,
316-
shared,,-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1,,yes)
316+
shared,,"-Wno-implicit-fallthrough -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1",,yes)
317317

318318
PHP_ADD_EXTENSION_DEP(opcache, pcre)
319319

0 commit comments

Comments
 (0)