Merge pull request #104733 from r-burns/ppc64le-glibc-cross

[staging] glibc: fix cross-compile to ppc64le
This commit is contained in:
Jörg Thalheim 2020-11-24 08:21:15 +01:00 committed by GitHub
commit 9f74d3b350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ stdenv.mkDerivation ({
"libc_cv_as_needed=no"
] ++ lib.optional withGd "--with-gd";
makeFlags = [
"OBJCOPY=${stdenv.cc.targetPrefix}objcopy"
];
installFlags = [ "sysconfdir=$(out)/etc" ];
outputs = [ "out" "bin" "dev" "static" ];