Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "A server-side, HTML-embedded scripting language" |
| 2 | HOMEPAGE = "http://www.php.net" |
| 3 | SECTION = "console/network" |
| 4 | |
| 5 | LICENSE = "PHP-3.0" |
| 6 | |
| 7 | BBCLASSEXTEND = "native" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 8 | DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | DEPENDS_class-native = "zlib-native libxml2-native" |
| 10 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | PHP_MAJOR_VERSION = "${@d.getVar('PV', True).split('.')[0]}" |
| 12 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 13 | SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | file://0001-php-don-t-use-broken-wrapper-for-mkdir.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | " |
| 16 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 17 | SRC_URI_append_class-target = " \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | file://iconv.patch \ |
| 19 | file://imap-fix-autofoo.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | file://php_exec_native.patch \ |
| 21 | file://php-fpm.conf \ |
| 22 | file://php-fpm-apache.conf \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | file://0001-acinclude.m4-don-t-unset-cache-variables.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | file://70_mod_php${PHP_MAJOR_VERSION}.conf \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | file://php-fpm.service \ |
| 26 | " |
| 27 | S = "${WORKDIR}/php-${PV}" |
| 28 | |
| 29 | inherit autotools pkgconfig pythonnative gettext |
| 30 | |
| 31 | # phpize is not scanned for absolute paths by default (but php-config is). |
| 32 | # |
| 33 | SSTATE_SCAN_FILES += "phpize" |
| 34 | SSTATE_SCAN_FILES += "build-defs.h" |
| 35 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 36 | PHP_LIBDIR = "${libdir}/php${PHP_MAJOR_VERSION}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 37 | |
| 38 | # Common EXTRA_OECONF |
| 39 | COMMON_EXTRA_OECONF = "--enable-sockets \ |
| 40 | --enable-pcntl \ |
| 41 | --enable-shared \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 42 | --disable-rpath \ |
| 43 | --with-pic \ |
| 44 | --libdir=${PHP_LIBDIR} \ |
| 45 | " |
| 46 | EXTRA_OECONF = "--enable-mbstring \ |
| 47 | --enable-wddx \ |
| 48 | --enable-fpm \ |
| 49 | --enable-zip \ |
| 50 | --with-libdir=${baselib} \ |
| 51 | --with-gettext=${STAGING_LIBDIR}/.. \ |
| 52 | --with-zlib=${STAGING_LIBDIR}/.. \ |
| 53 | --with-iconv=${STAGING_LIBDIR}/.. \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 54 | --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 55 | --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 56 | ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'ac_cv_c_bigendian_php=no', 'ac_cv_c_bigendian_php=yes', d)} \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 57 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '', 'ac_cv_lib_pam_pam_start=no', d)} \ |
| 58 | ${COMMON_EXTRA_OECONF} \ |
| 59 | " |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 60 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 61 | CACHED_CONFIGUREVARS += "ac_cv_func_dlopen=no ac_cv_lib_dl_dlopen=yes" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 62 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 63 | EXTRA_OECONF_class-native = " \ |
| 64 | --with-zlib=${STAGING_LIBDIR_NATIVE}/.. \ |
| 65 | --without-iconv \ |
| 66 | ${COMMON_EXTRA_OECONF} \ |
| 67 | " |
| 68 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 69 | PACKAGECONFIG ??= "mysql sqlite3 imap opcache openssl \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 70 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 71 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 72 | PACKAGECONFIG_class-native = "" |
| 73 | |
| 74 | PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \ |
| 75 | --with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \ |
| 76 | --with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \ |
| 77 | ,--without-mysql --without-mysqli --without-pdo-mysql \ |
| 78 | ,mysql5" |
| 79 | |
| 80 | PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \ |
| 81 | --with-pdo-sqlite=${STAGING_LIBDIR}/.. \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 82 | ,--without-sqlite3 --without-pdo-sqlite \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 83 | ,sqlite3" |
| 84 | PACKAGECONFIG[pgsql] = "--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix},--without-pgsql,postgresql" |
| 85 | PACKAGECONFIG[soap] = "--enable-libxml --enable-soap, --disable-soap, libxml2" |
| 86 | PACKAGECONFIG[apache2] = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs,,apache2-native apache2" |
| 87 | PACKAGECONFIG[pam] = ",,libpam" |
| 88 | PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \ |
| 89 | --with-imap-ssl=${STAGING_DIR_HOST} \ |
| 90 | ,--without-imap --without-imap-ssl \ |
| 91 | ,uw-imap" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 92 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 93 | PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache" |
| 94 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 95 | |
| 96 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" |
| 97 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" |
| 98 | CFLAGS += " -D_GNU_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2" |
| 99 | CFLAGS_append_aarch64 = " -O2" |
| 100 | |
| 101 | EXTRA_OEMAKE = "INSTALL_ROOT=${D}" |
| 102 | |
| 103 | acpaths = "" |
| 104 | |
| 105 | do_configure_prepend () { |
| 106 | rm -f ${S}/build/libtool.m4 ${S}/ltmain.sh ${S}/aclocal.m4 |
| 107 | find ${S} -name config.m4 | xargs -n1 sed -i 's!APXS_HTTPD=.*!APXS_HTTPD=${STAGING_BINDIR_NATIVE}/httpd!' |
| 108 | } |
| 109 | |
| 110 | do_configure_append() { |
| 111 | # No, libtool, we really don't want rpath set... |
| 112 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' ${HOST_SYS}-libtool |
| 113 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${HOST_SYS}-libtool |
| 114 | } |
| 115 | |
| 116 | do_install_append_class-native() { |
| 117 | rm -rf ${D}/${PHP_LIBDIR}/php/.registry |
| 118 | rm -rf ${D}/${PHP_LIBDIR}/php/.channels |
| 119 | rm -rf ${D}/${PHP_LIBDIR}/php/.[a-z]* |
| 120 | } |
| 121 | |
| 122 | do_install_prepend() { |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 123 | cat ${ACLOCALDIR}/libtool.m4 ${ACLOCALDIR}/lt~obsolete.m4 ${ACLOCALDIR}/ltoptions.m4 \ |
| 124 | ${ACLOCALDIR}/ltsugar.m4 ${ACLOCALDIR}/ltversion.m4 > ${S}/build/libtool.m4 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 125 | } |
| 126 | |
| 127 | do_install_prepend_class-target() { |
| 128 | if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then |
| 129 | # Install dummy config file so apxs doesn't fail |
| 130 | install -d ${D}${sysconfdir}/apache2 |
| 131 | printf "\nLoadModule dummy_module modules/mod_dummy.so\n" > ${D}${sysconfdir}/apache2/httpd.conf |
| 132 | fi |
| 133 | } |
| 134 | |
| 135 | # fixme |
| 136 | do_install_append_class-target() { |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 137 | install -d ${D}${sysconfdir}/ |
| 138 | if [ -d ${RECIPE_SYSROOT_NATIVE}${sysconfdir} ];then |
| 139 | install -m 0644 ${RECIPE_SYSROOT_NATIVE}${sysconfdir}/pear.conf ${D}${sysconfdir}/ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 140 | fi |
| 141 | rm -rf ${D}/${TMPDIR} |
| 142 | rm -rf ${D}/.registry |
| 143 | rm -rf ${D}/.channels |
| 144 | rm -rf ${D}/.[a-z]* |
| 145 | rm -rf ${D}/var |
| 146 | rm -f ${D}/${sysconfdir}/php-fpm.conf.default |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 147 | sed -i 's:${STAGING_DIR_NATIVE}::g' ${D}${sysconfdir}/pear.conf |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 148 | install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf |
| 149 | install -d ${D}/${sysconfdir}/apache2/conf.d |
| 150 | install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf |
| 151 | install -d ${D}${sysconfdir}/init.d |
| 152 | sed -i 's:=/usr/sbin:=${sbindir}:g' ${B}/sapi/fpm/init.d.php-fpm |
| 153 | sed -i 's:=/etc:=${sysconfdir}:g' ${B}/sapi/fpm/init.d.php-fpm |
| 154 | sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm |
| 155 | install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm |
| 156 | install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf |
| 157 | |
| 158 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then |
| 159 | install -d ${D}${systemd_unitdir}/system |
| 160 | install -m 0644 ${WORKDIR}/php-fpm.service ${D}${systemd_unitdir}/system/ |
| 161 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
| 162 | -e 's,@LOCALSTATEDIR@,${localstatedir},g' \ |
| 163 | ${D}${systemd_unitdir}/system/php-fpm.service |
| 164 | fi |
| 165 | |
| 166 | TMP=`dirname ${D}/${TMPDIR}` |
| 167 | while test ${TMP} != ${D}; do |
| 168 | if [ -d ${TMP} ]; then |
| 169 | rmdir ${TMP} |
| 170 | fi |
| 171 | TMP=`dirname ${TMP}`; |
| 172 | done |
| 173 | |
| 174 | if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then |
| 175 | install -d ${D}${libdir}/apache2/modules |
| 176 | install -d ${D}${sysconfdir}/apache2/modules.d |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 177 | install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} |
| 178 | install -m 755 libs/libphp${PHP_MAJOR_VERSION}.so ${D}${libdir}/apache2/modules |
| 179 | install -m 644 ${WORKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf ${D}${sysconfdir}/apache2/modules.d |
| 180 | sed -i s,lib/,${libdir}/, ${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 181 | cat ${S}/php.ini-production | \ |
| 182 | sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 183 | > ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION}/php.ini |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 184 | rm -f ${D}${sysconfdir}/apache2/httpd.conf* |
| 185 | fi |
| 186 | } |
| 187 | |
| 188 | SYSROOT_PREPROCESS_FUNCS += "php_sysroot_preprocess" |
| 189 | |
| 190 | php_sysroot_preprocess () { |
| 191 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ |
| 192 | install -m 755 ${D}${bindir}/phpize ${SYSROOT_DESTDIR}${bindir_crossscripts}/ |
| 193 | install -m 755 ${D}${bindir}/php-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/ |
| 194 | |
| 195 | sed -i 's!eval echo /!eval echo ${STAGING_DIR_HOST}/!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/phpize |
| 196 | sed -i 's!^include_dir=.*!include_dir=${STAGING_INCDIR}/php!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/php-config |
| 197 | } |
| 198 | |
| 199 | MODPHP_PACKAGE = "${@bb.utils.contains('PACKAGECONFIG', 'apache2', '${PN}-modphp', '', d)}" |
| 200 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 201 | PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-phar ${MODPHP_PACKAGE} ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}-opcache ${PN}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 202 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 203 | RDEPENDS_${PN} += "libgcc" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 204 | RDEPENDS_${PN}-pear = "${PN}" |
| 205 | RDEPENDS_${PN}-phar = "${PN}-cli" |
| 206 | RDEPENDS_${PN}-cli = "${PN}" |
| 207 | RDEPENDS_${PN}-modphp = "${PN} apache2" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 208 | RDEPENDS_${PN}-opcache = "${PN}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 209 | |
| 210 | INITSCRIPT_PACKAGES = "${PN}-fpm" |
| 211 | inherit update-rc.d |
| 212 | |
| 213 | FILES_${PN}-dbg =+ "${bindir}/.debug \ |
| 214 | ${libdir}/apache2/modules/.debug" |
| 215 | FILES_${PN}-doc += "${PHP_LIBDIR}/php/doc" |
| 216 | FILES_${PN}-cli = "${bindir}/php" |
| 217 | FILES_${PN}-phar = "${bindir}/phar*" |
| 218 | FILES_${PN}-cgi = "${bindir}/php-cgi" |
| 219 | FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf ${datadir}/fpm ${sysconfdir}/init.d/php-fpm ${systemd_unitdir}/system/php-fpm.service" |
| 220 | FILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" |
| 221 | CONFFILES_${PN}-fpm = "${sysconfdir}/php-fpm.conf" |
| 222 | CONFFILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" |
| 223 | INITSCRIPT_NAME_${PN}-fpm = "php-fpm" |
| 224 | INITSCRIPT_PARAMS_${PN}-fpm = "defaults 60" |
| 225 | FILES_${PN}-pear = "${bindir}/pear* ${bindir}/pecl ${PHP_LIBDIR}/php/PEAR \ |
| 226 | ${PHP_LIBDIR}/php/PEAR*.php ${PHP_LIBDIR}/php/System.php \ |
| 227 | ${PHP_LIBDIR}/php/peclcmd.php ${PHP_LIBDIR}/php/pearcmd.php \ |
| 228 | ${PHP_LIBDIR}/php/.channels ${PHP_LIBDIR}/php/.channels/.alias \ |
| 229 | ${PHP_LIBDIR}/php/.registry ${PHP_LIBDIR}/php/Archive/Tar.php \ |
| 230 | ${PHP_LIBDIR}/php/Console/Getopt.php ${PHP_LIBDIR}/php/OS/Guess.php \ |
| 231 | ${PHP_LIBDIR}/php/data/PEAR \ |
| 232 | ${sysconfdir}/pear.conf" |
| 233 | FILES_${PN}-dev = "${includedir}/php ${PHP_LIBDIR}/build ${bindir}/phpize \ |
| 234 | ${bindir}/php-config ${PHP_LIBDIR}/php/.depdb \ |
| 235 | ${PHP_LIBDIR}/php/.depdblock ${PHP_LIBDIR}/php/.filemap \ |
| 236 | ${PHP_LIBDIR}/php/.lock ${PHP_LIBDIR}/php/test" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 237 | FILES_${PN}-staticdev += "${PHP_LIBDIR}/extensions/*/*.a" |
| 238 | FILES_${PN}-opcache = "${PHP_LIBDIR}/extensions/*/opcache${SOLIBSDEV}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 239 | FILES_${PN} = "${PHP_LIBDIR}/php" |
| 240 | FILES_${PN} += "${bindir}" |
| 241 | |
| 242 | SUMMARY_${PN}-modphp = "PHP module for the Apache HTTP server" |
| 243 | FILES_${PN}-modphp = "${libdir}/apache2 ${sysconfdir}" |
| 244 | |
| 245 | MODPHP_OLDPACKAGE = "${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'modphp', '', d)}" |
| 246 | RPROVIDES_${PN}-modphp = "${MODPHP_OLDPACKAGE}" |
| 247 | RREPLACES_${PN}-modphp = "${MODPHP_OLDPACKAGE}" |
| 248 | RCONFLICTS_${PN}-modphp = "${MODPHP_OLDPACKAGE}" |
| 249 | |
| 250 | do_install_append_class-native() { |
| 251 | create_wrapper ${D}${bindir}/php \ |
| 252 | PHP_PEAR_SYSCONF_DIR=${sysconfdir}/ |
| 253 | } |
| 254 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 255 | |
| 256 | # Fails to build with thumb-1 (qemuarm) |
| 257 | # | {standard input}: Assembler messages: |
| 258 | # | {standard input}:3719: Error: selected processor does not support Thumb mode `smull r0,r2,r9,r3' |
| 259 | # | {standard input}:3720: Error: unshifted register required -- `sub r2,r2,r0,asr#31' |
| 260 | # | {standard input}:3796: Error: selected processor does not support Thumb mode `smull r0,r2,r3,r3' |
| 261 | # | {standard input}:3797: Error: unshifted register required -- `sub r2,r2,r0,asr#31' |
| 262 | # | make: *** [ext/standard/math.lo] Error 1 |
| 263 | ARM_INSTRUCTION_SET = "arm" |