From e713eb77ce9d6c16e97e34ce7fe2a4af0da696ab Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 29 Jan 2022 15:30:50 +0100 Subject: [PATCH] kicad: broken on platforms without 64-bit atomics --- srcpkgs/kicad/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/kicad/template b/srcpkgs/kicad/template index 84c660a12a..cd60f0ad49 100644 --- a/srcpkgs/kicad/template +++ b/srcpkgs/kicad/template @@ -27,9 +27,14 @@ 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 +if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then broken="pybind: Python config failure: Python is 64-bit, chosen compiler is 32-bit" fi + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + broken="common/libgal.a(draw_panel_gal.cpp.o)" +fi + nocross="execute lemon during build" if [ "$CROSS_BUILD" ]; then