util/crossgcc: Fix musl libc support
Disable NLS for libelf. Change-Id: Ia4d01393771ccdff9e0498d7efd1bbdd11cff8db Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org> Reviewed-on: https://review.coreboot.org/20235 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
8b388e4741
commit
9a848dde8b
|
@ -562,7 +562,7 @@ build_MPC() {
|
|||
|
||||
build_LIBELF() {
|
||||
CC="$CC" CFLAGS="$HOSTCFLAGS" libelf_cv_elf_h_works=no \
|
||||
../${LIBELF_DIR}/configure --disable-shared --prefix=$TARGETDIR \
|
||||
../${LIBELF_DIR}/configure --disable-shared --disable-nls --prefix=$TARGETDIR \
|
||||
--infodir=$TARGETDIR/info CFLAGS="$HOSTCFLAGS" || touch .failed
|
||||
$MAKE $JOBS || touch .failed
|
||||
$MAKE install prefix=$DESTDIR$TARGETDIR || touch .failed
|
||||
|
|
Loading…
Reference in New Issue