We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 150ebfd commit a4c5b26Copy full SHA for a4c5b26
1 file changed
ext/sodium/config.m4
@@ -11,8 +11,9 @@ if test "$PHP_SODIUM" != "no"; then
11
12
AC_DEFINE(HAVE_LIBSODIUMLIB, 1, [ ])
13
14
- dnl Add -Wno-type-limits as this may arise on 32bits platforms
+ 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"
16
+ AX_CHECK_COMPILE_FLAG([-Wno-logical-op], SODIUM_COMPILER_FLAGS="$SODIUM_COMPILER_FLAGS -Wno-logical-op", , [-Werror])
17
PHP_NEW_EXTENSION(sodium, libsodium.c sodium_pwhash.c, $ext_shared, , $SODIUM_COMPILER_FLAGS)
18
PHP_SUBST(SODIUM_SHARED_LIBADD)
19
fi
0 commit comments