Message ID | 20191002042626.26676-2-bernd.kuhls@t-online.de |
---|---|
State | Rejected |
Headers | show |
Series | [1/4] package/gzip: fix static build on ARM Cortex-M | expand |
diff --git a/package/gnuchess/gnuchess.mk b/package/gnuchess/gnuchess.mk index 4d91706de4..fbd3c97531 100644 --- a/package/gnuchess/gnuchess.mk +++ b/package/gnuchess/gnuchess.mk @@ -13,4 +13,10 @@ GNUCHESS_DEPENDENCIES = host-flex flex GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline) \ $(TARGET_NLS_DEPENDENCIES) +# workaround for elf2flt bug +# https://github.com/uclinux-dev/elf2flt/issues/11 +ifeq ($(BR2_ARM_CPU_ARMV7M)$(BR2_STATIC_LIBS),yy) +GNUCHESS_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -O0" +endif + $(eval $(autotools-package))
For details see http://lists.busybox.net/pipermail/buildroot/2019-June/253203.html Fixes: http://autobuild.buildroot.net/results/220/2209c58e3239e12f2580acc62452d51af4cf6bf1/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- package/gnuchess/gnuchess.mk | 6 ++++++ 1 file changed, 6 insertions(+)