Skip to content

Commit 853294e

Browse files
committed
remove disabling of asm arithmetic
1 parent 1a42963 commit 853294e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/SPC/store/SourcePatcher.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ public static function patchBeforeConfigure(BuilderBase $builder): void
9999
}
100100
// patch capstone
101101
FileSystem::replaceFileRegex(SOURCE_PATH . '/php-src/configure', '/have_capstone="yes"/', 'have_capstone="no"');
102-
if ($builder instanceof LinuxBuilder && getenv('SPC_LIBC') === 'glibc') {
103-
FileSystem::replaceFileStr(SOURCE_PATH . '/php-src/Zend/zend_operators.h', '# define ZEND_USE_ASM_ARITHMETIC 1', '# define ZEND_USE_ASM_ARITHMETIC 0');
104-
}
105102
}
106103

107104
/**

0 commit comments

Comments
 (0)