diff --git a/pkgs/development/compilers/gcc/default.nix b/pkgs/development/compilers/gcc/default.nix index e6acca591005..74d482bea205 100644 --- a/pkgs/development/compilers/gcc/default.nix +++ b/pkgs/development/compilers/gcc/default.nix @@ -19,7 +19,7 @@ cargo, staticCompiler ? false, enableShared ? stdenv.targetPlatform.hasSharedLibraries, - enableDefaultPie ? true, + enableDefaultPie ? stdenv.targetPlatform.hasSharedLibraries, enableLTO ? stdenv.hostPlatform.hasSharedLibraries, texinfo ? null, perl ? null, # optional, for texi2pod (then pod2man)