Files
Arch-R/packages/tools
heitbaum 3ec4ccdf11 grub: fix builds on non x86_64 build hosts by using TARGET_ for build
With these changes configure_target no longer complains about no-prefix
on cross compiling. On an aarch64 build host the target_ compile fails
when the build host gcc is used with the -m32 option. On an x86_64 build
host, the host gcc compiles grub (-m32 and assembly) successfully.

before:

checking for i386-pc-linux-gcc... no
checking for i386-pc-linux-egcs... no
checking for i386-pc-linux-cc... no
checking for gcc... gcc
configure: WARNING: using cross tools not prefixed with host triplet
checking for i386-pc-linux-objcopy... no
checking for objcopy... objcopy
checking for i386-pc-linux-strip... no
checking for strip... strip
checking for i386-pc-linux-nm... no
checking for nm... nm
checking for i386-pc-linux-ranlib... no
checking for ranlib... ranlib
checking which extra warnings work...
checking if compiling with clang... yes
checking for options to compile assembly... configure: error: could not compile assembly

after:

checking for i386-pc-linux-gcc...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
checking for i386-pc-linux-objcopy...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-objcopy
checking for i386-pc-linux-strip...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip
checking for i386-pc-linux-nm...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm
checking for i386-pc-linux-ranlib...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ranlib
2022-03-19 09:56:03 +00:00
..
2021-01-19 19:34:19 +00:00
2021-01-19 19:34:19 +00:00
2021-02-21 12:44:06 +01:00
2022-01-23 09:37:07 -05:00
2020-02-21 03:18:02 +00:00
2022-02-05 04:36:30 +00:00
2021-01-19 19:34:19 +00:00
2021-01-19 19:34:19 +00:00
2022-02-05 04:36:28 +00:00
2021-12-24 11:03:43 +00:00
2021-01-19 19:34:19 +00:00
2021-01-19 19:34:19 +00:00
2021-12-19 07:52:55 +00:00
2021-01-19 19:34:19 +00:00
2022-02-02 21:21:52 +01:00
2021-01-19 19:34:19 +00:00
2022-01-15 10:16:29 +00:00