diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2024-03-09 12:14:46 +0200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2024-03-11 17:29:13 +1300 |
commit | c64500d94be92ed1bcdfdef911048a14e216a5e1 (patch) | |
tree | 704275aacd328317602b46ff8df7d947bad953e5 /packages | |
parent | 884db2ed4783f54cb7356893be3c95b096f65869 (diff) | |
download | crosstool-ng-c64500d94be92ed1bcdfdef911048a14e216a5e1.tar.gz crosstool-ng-c64500d94be92ed1bcdfdef911048a14e216a5e1.tar.bz2 crosstool-ng-c64500d94be92ed1bcdfdef911048a14e216a5e1.zip |
gnuprumcu: Pass host sysroot to build toolchain
In canadian builds, the target toolchain running on the build
machine is not compiling and installing target Newlib. Thus it
cannot by itself link target executables. This results in
errors for gnuprumcu package when its configure script attempts
to test the compiler:
.../ld: cannot find crt0.o: No such file or directory
configure:3738: error: C compiler cannot create executables
Fix by passing the host toolchains's sysroot in target CFLAGS.
While at it, also add a missing passing of target LDFLAGS.
Successfully tested the following canadian builds:
x86_64-unknown-linux-gnu,pru
x86_64-w64-mingw32,pru
arm-unknown-linux-gnueabihf,pru
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions