From e70fefa3b89d445d2695109c02e7b65c6b3062c1 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 18 Jun 2023 20:31:04 +0200 Subject: [PATCH] package/pkg-meson.mk: disable staticpic on Coldfire 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 Signed-off-by: Thomas Petazzoni --- 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 \