diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2022-06-01 05:50:18 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2022-11-03 13:22:32 +0000 |
commit | dadb92f1eb8825587480f120d547ee96222f2510 (patch) | |
tree | 7a444749e6740c7fb3f22d1bf9f3da4da9f08457 | |
parent | 6765e3cf05f87bc4aaecae5c223b430a72d93a3a (diff) | |
download | toolchains-dadb92f1eb8825587480f120d547ee96222f2510.tar.gz toolchains-dadb92f1eb8825587480f120d547ee96222f2510.tar.bz2 |
"Fix" FTBFS: disable maintainer mode for binutils.
Enabling maintainer mode causes bfd-in2.h to be regenerated from
bfd-in.h. This results in the "riscos_module" field in the
elf32_arm_params to be wrapped in #ifdef __RISCOS_TARGET___.
While this is defined when bfd itself is built, it is not defined
when ld is compiled, resulting in a failure to compile
earmelf_riscos_eabi.c (as it expects to be able to address that
parameter.
-rw-r--r-- | arm-riscos-gnueabihf/recipes/files/gccsdk/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm-riscos-gnueabihf/recipes/files/gccsdk/Makefile b/arm-riscos-gnueabihf/recipes/files/gccsdk/Makefile index ed2283c..5f2740b 100644 --- a/arm-riscos-gnueabihf/recipes/files/gccsdk/Makefile +++ b/arm-riscos-gnueabihf/recipes/files/gccsdk/Makefile @@ -75,7 +75,7 @@ GCC_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK --with-bugurl=http://gccsdk.riscos.info/ BINUTILS_CONFIG_ARGS += --with-pkgversion='GCCSDK GCC $(GCC_VERSION) Release $(GCCSDK_GCC_RISCOS_RELEASE)' \ --with-bugurl=http://gccsdk.riscos.info/ -BINUTILS_CONFIG_ARGS += --enable-maintainer-mode --disable-werror --with-gcc --enable-interwork --disable-nls +BINUTILS_CONFIG_ARGS += --disable-werror --with-gcc --enable-interwork --disable-nls #--enable-maintainer-mode # --disable-werror is added because --enable-maintainer-mode turns all warnings into errors and # the gcc build is not 100% warning free. # However, this does not help for libstdc++ builds when newlib is used, cfr http://gcc.gnu.org/PR47058. |