php: drop explicite ARM_INSTRUCTION_SET

If my git skills don't trick me, forcing ARM mode for PHP
dates back to year 2015 with commit e836f8f93.

I wondered whether the compile problem still persists and just
tested that it compiles fine for qemuarm nowaydays.

I also tested the binaries on a physical device, a
NXP iMX6ULL based one, and did not notice any problems
so far.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Michael Heimpold 2023-06-11 18:05:29 +02:00 committed by Khem Raj
parent 812f091414
commit 0eed75ff15

View File

@ -284,12 +284,3 @@ do_install:append:class-native() {
create_wrapper ${D}${bindir}/php \
PHP_PEAR_SYSCONF_DIR=${sysconfdir}/
}
# Fails to build with thumb-1 (qemuarm)
# | {standard input}: Assembler messages:
# | {standard input}:3719: Error: selected processor does not support Thumb mode `smull r0,r2,r9,r3'
# | {standard input}:3720: Error: unshifted register required -- `sub r2,r2,r0,asr#31'
# | {standard input}:3796: Error: selected processor does not support Thumb mode `smull r0,r2,r3,r3'
# | {standard input}:3797: Error: unshifted register required -- `sub r2,r2,r0,asr#31'
# | make: *** [ext/standard/math.lo] Error 1
ARM_INSTRUCTION_SET = "arm"