glibc: force OBJDUMP to cc.bintools

This commit is contained in:
Bernardo Meurer 2020-05-09 15:21:17 -07:00
parent e1f4e0f03f
commit b83fb95a41

View File

@ -203,7 +203,7 @@ stdenv.mkDerivation ({
configureScript="`pwd`/../$sourceRoot/configure"
${lib.optionalString (stdenv.cc.libc != null)
''makeFlags="$makeFlags BUILD_LDFLAGS=-Wl,-rpath,${stdenv.cc.libc}/lib"''
''makeFlags="$makeFlags BUILD_LDFLAGS=-Wl,-rpath,${stdenv.cc.libc}/lib OBJDUMP=${stdenv.cc.bintools.bintools}/bin/objdump"''
}