kicad: broken for cross-wordsize builds.

Build log in [1], configure stage already fails. Should be fixable in
some way, gnuradio will require similar workarounds [2].

[1] https://build.voidlinux.org/builders/armv7l-musl_builder/builds/37771/steps/shell_3/logs/stdio
[2] https://github.com/void-linux/void-packages/pull/35049
This commit is contained in:
Érico Nogueira 2022-01-28 04:56:26 -03:00
parent 0e6caec0cb
commit bb4b6fb558

View file

@ -27,6 +27,10 @@ build_options_default="spice occt"
desc_option_spice="Enable support for SPICE simulation"
desc_option_occt="Enable support for 3D STEP models"
if [ ! "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
broken="pybind: Python config failure: Python is 64-bit, chosen compiler is 32-bit"
fi
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wxPython4"
configure_args+=" -DPYTHON_DEST=/${py3_sitelib}