summaryrefslogtreecommitdiff
path: root/lang/python/python-hyperlink
diff options
context:
space:
mode:
authorHirokazu MORIKAWA <morikw2@gmail.com>2018-05-17 15:16:52 +0900
committerHirokazu MORIKAWA <morikw2@gmail.com>2018-05-17 15:16:52 +0900
commit3482320c2a4bdca5f090fdc3ddfa3273d2b9c805 (patch)
tree085f92c04b742dae2bc8a514a89b7e4c6feb8760 /lang/python/python-hyperlink
parentf1840c7749a81368efa01b0e723aba7db94a6364 (diff)
node: Fix incorrect detection of arm_version and arm_fpu
Automatic detection of the arm architecture does not work well. http://downloads.lede-project.org/snapshots/faillogs/arm_arm1176jzf-s_vfp/packages/node/compile.txt ``` ../deps/v8/src/arm/assembler-arm.cc:176:2: error: #error "CAN_USE_ARMV7_INSTRUCTIONS should match CAN_USE_VFP3_INSTRUCTIONS" #error "CAN_USE_ARMV7_INSTRUCTIONS should match CAN_USE_VFP3_INSTRUCTIONS" ^~~~~ ``` https://github.com/openwrt/packages/issues/5728 Explicitly set cpu arch optimization flag to the compiler option so that "configure" script correctly identifies "arm version". (Raspberry Pi Zero W) Raspbian: ``` raspberrypi:~ $ echo | gcc -dM -E - | grep ARM_ARCH ``` OpenWrt (cross-env): ``` ubuntu:~ $ echo | ./arm-openwrt-linux-muslgnueabi-gcc -dM -E - | grep ARM_ARCH ``` ``` ubuntu:~ $ echo | ./arm-openwrt-linux-muslgnueabi-gcc -mcpu=arm1176jzf-s -dM -E - | grep ARM_ARCH ``` Also specifying an option lines compactly. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Diffstat (limited to 'lang/python/python-hyperlink')
0 files changed, 0 insertions, 0 deletions