Skip to content

Commit 9f55bf0

Browse files
committed
Add -Wno-logical-op compiler flag to Sodium extension
1 parent 150ebfd commit 9f55bf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/sodium/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if test "$PHP_SODIUM" != "no"; then
1111

1212
AC_DEFINE(HAVE_LIBSODIUMLIB, 1, [ ])
1313

14-
dnl Add -Wno-type-limits as this may arise on 32bits platforms
15-
SODIUM_COMPILER_FLAGS="$LIBSODIUM_CFLAGS -Wno-type-limits"
14+
dnl Add -Wno-type-limits and -Wno-logical-op as this may arise on 32bits platforms
15+
SODIUM_COMPILER_FLAGS="$LIBSODIUM_CFLAGS -Wno-type-limits -Wno-logical-op"
1616
PHP_NEW_EXTENSION(sodium, libsodium.c sodium_pwhash.c, $ext_shared, , $SODIUM_COMPILER_FLAGS)
1717
PHP_SUBST(SODIUM_SHARED_LIBADD)
1818
fi

0 commit comments

Comments
 (0)