Skip to content

Commit 4ab1f42

Browse files
committed
make --enable-compiler-intrinsics=no same as disabled
1 parent d3d5762 commit 4ab1f42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

win32/build/confutils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3397,7 +3397,7 @@ function toolset_setup_intrinsic_cflags()
33973397
/* From oldest to newest. */
33983398
var scale = new Array("sse", "sse2", "sse3", "ssse3", "sse4.1", "sse4.2", "avx", "avx2", "avx512");
33993399

3400-
if ("disabled" == PHP_NATIVE_INTRINSICS) {
3400+
if ("disabled" == PHP_NATIVE_INTRINSICS || "no" == PHP_NATIVE_INTRINSICS) {
34013401
return;
34023402
}
34033403

@@ -3409,7 +3409,7 @@ function toolset_setup_intrinsic_cflags()
34093409
return;
34103410
}
34113411

3412-
if ("no" == PHP_NATIVE_INTRINSICS || "yes" == PHP_NATIVE_INTRINSICS) {
3412+
if ("yes" == PHP_NATIVE_INTRINSICS) {
34133413
PHP_NATIVE_INTRINSICS = default_enabled;
34143414
}
34153415

0 commit comments

Comments
 (0)