diff options
Diffstat (limited to 'pkgs/development/misc/newlib/default.nix')
-rw-r--r-- | pkgs/development/misc/newlib/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/misc/newlib/default.nix b/pkgs/development/misc/newlib/default.nix index e26f0f78f21..693cfa093b0 100644 --- a/pkgs/development/misc/newlib/default.nix +++ b/pkgs/development/misc/newlib/default.nix @@ -23,12 +23,13 @@ in stdenv.mkDerivation { "--disable-nls" "--enable-newlib-io-long-long" "--enable-newlib-register-fini" + "--enable-newlib-retargetable-locking" ]; dontDisableStatic = true; passthru = { - incdir = "/${stdenv.hostPlatform.config}/include"; - libdir = "/${stdenv.hostPlatform.config}/lib"; + incdir = "/${stdenv.targetPlatform.config}/include"; + libdir = "/${stdenv.targetPlatform.config}/lib"; }; } |