mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Fixing a problem of nscd on (only) armv5tel (soft-float).
It gets linked to libgcc_s (shared lib) unless doing the trick I thought feasible of telling 'configure' that the linker does not support "as-needed". I found this reading their 'configure' script. We don't want nscd linked to libgcc because that would make glibc dependant on the previous gcc. This only happens on armv5tel, for the supported platforms. svn path=/nixpkgs/branches/stdenv-updates/; revision=24959
This commit is contained in:
parent
b5f1600e49
commit
9af474ca72
@ -115,6 +115,10 @@ stdenv.mkDerivation ({
|
||||
"--host=arm-linux-gnueabi"
|
||||
"--build=arm-linux-gnueabi"
|
||||
"--without-fp"
|
||||
|
||||
# To avoid linking with -lgcc_s (dynamic link)
|
||||
# so the glibc does not depend on its compiler store path
|
||||
"libc_cv_as_needed=no"
|
||||
];
|
||||
|
||||
buildInputs = stdenv.lib.optionals (cross != null) [ gccCross ]
|
||||
|
Loading…
Reference in New Issue
Block a user