* [Buildroot] [PATCH v2, 1/1] package/gtkiostream: add BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
@ 2024-07-27 16:50 Fabrice Fontaine
2024-07-28 19:57 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-07-27 16:50 UTC (permalink / raw)
To: buildroot; +Cc: Angelo Compagnucci, Fabrice Fontaine, Matt Flax
gtkiostream only supports little-endian since its addition in commit
fab48302865e5c0c98d91b696bc90e75e38189bb resulting in the following
build failure:
In file included from BitStream.C:23:
../include/BitStream.H:35:2: error: #error "iobitstream not tested on big endian systems"
35 | #error "iobitstream not tested on big endian systems"
| ^~~~~
Fixes: fab48302865e5c0c98d91b696bc90e75e38189bb
- http://autobuild.buildroot.org/results/aec24d92cc2196596413cf509d686f1f8d1eca95
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- User BR2_ENDIAN instead of listing architectures
package/gtkiostream/Config.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/gtkiostream/Config.in b/package/gtkiostream/Config.in
index 1d1ec27346..334b4dc331 100644
--- a/package/gtkiostream/Config.in
+++ b/package/gtkiostream/Config.in
@@ -1,5 +1,10 @@
+config BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
+ bool
+ default y if BR2_ENDIAN = "LITTLE"
+
config BR2_PACKAGE_GTKIOSTREAM
bool "gtkiostream"
+ depends on BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP # eigen
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_ALSA_LIB_MIXER if BR2_PACKAGE_ALSA_LIB
@@ -14,5 +19,6 @@ config BR2_PACKAGE_GTKIOSTREAM
https://github.com/flatmax/gtkiostream
comment "gtkiostream needs a toolchain w/ C++, threads"
+ depends on BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-28 19:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-27 16:50 [Buildroot] [PATCH v2, 1/1] package/gtkiostream: add BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS Fabrice Fontaine
2024-07-28 19:57 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.