]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/glibc
toolchain: fix full toolchain crossbuild
[ipfire-2.x.git] / lfs / glibc
index bbf58e80979ce741f0c85a6d82a953d09b36618f..56a35333914e9b2209660cca23ca02817652e91e 100644 (file)
--- a/lfs/glibc
+++ b/lfs/glibc
@@ -51,7 +51,8 @@ else
        --with-headers=/tools/include \
        libc_cv_forced_unwind=yes \
        libc_cv_ctors_header=yes \
-       libc_cv_c_cleanup=yes
+       libc_cv_c_cleanup=yes \
+       CC=/tools/bin/$(CROSSTARGET)-gcc
   EXTRA_MAKE =
   EXTRA_INSTALL =
 endif