Skip to content

Commit

Permalink
Disable PRECOMPILE_HEADERS on cross
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Jul 26, 2020
1 parent af56dc7 commit 39dd23c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,14 @@
"--with-system=${stdenv.hostPlatform.system}"
];

makeFlags = [ "profiledir=${placeholder "out"}/etc/profile.d" ];
makeFlags = [
"profiledir=${placeholder "out"}/etc/profile.d"
"PRECOMPILE_HEADERS=${if stdenv.buildPlatform != stdenv.hostPlatform then "0" else "1"}"
];

installFlags = [ "sysconfdir=${placeholder "out"}/etc" ];
installFlags = [
"sysconfdir=${placeholder "out"}/etc"
];
};
};

Expand Down

0 comments on commit 39dd23c

Please sign in to comment.