diff --git a/srcpkgs/kicad/template b/srcpkgs/kicad/template index 4369166674d..d82c1013566 100644 --- a/srcpkgs/kicad/template +++ b/srcpkgs/kicad/template @@ -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}