Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/pkg-meson.mk: disable staticpic on Coldfire
@ 2023-06-18 18:31 Bernd Kuhls
  2023-06-18 18:31 ` [Buildroot] [PATCH v2 2/2] package/libdisplay-info: new package Bernd Kuhls
  2023-07-10 18:39 ` [Buildroot] [PATCH 1/2] package/pkg-meson.mk: disable staticpic on Coldfire Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-06-18 18:31 UTC (permalink / raw)
  To: buildroot; +Cc: Eric Le Bihan

Fixes build error in the upcoming libdisplay-info package:
"Tried to convert PC relative branch to absolute jump" as described
here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101971#c11

Since this issue not only occurs with this package, see
https://git.busybox.net/buildroot/commit/?id=2a48a6ee9d6b81c804182ff0ad6e0f7c850f6839
we add the configure option to pkg-meson.mk.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Suggested by Yann:
https://lists.buildroot.org/pipermail/buildroot/2023-June/669138.html

 package/pkg-meson.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk
index 4aa6e44afa..65cabf23ba 100644
--- a/package/pkg-meson.mk
+++ b/package/pkg-meson.mk
@@ -156,6 +156,7 @@ define $(2)_CONFIGURE_CMDS
 		--buildtype=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \
 		--cross-file=$$($$(PKG)_SRCDIR)/build/cross-compilation.conf \
 		-Db_pie=false \
+		-Db_staticpic=$(if $(BR2_m68k_cf),false,true) \
 		-Dstrip=false \
 		-Dbuild.pkg_config_path=$$(HOST_DIR)/lib/pkgconfig \
 		-Dbuild.cmake_prefix_path=$$(HOST_DIR)/lib/cmake \
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-10 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-18 18:31 [Buildroot] [PATCH 1/2] package/pkg-meson.mk: disable staticpic on Coldfire Bernd Kuhls
2023-06-18 18:31 ` [Buildroot] [PATCH v2 2/2] package/libdisplay-info: new package Bernd Kuhls
2023-07-10 18:39 ` [Buildroot] [PATCH 1/2] package/pkg-meson.mk: disable staticpic on Coldfire Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox