Skip to content

Commit

Permalink
tinycc: fix static build
Browse files Browse the repository at this point in the history
  • Loading branch information
happysalada authored and Yt committed May 16, 2023
1 parent aa0d00f commit c19d892
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/compilers/tinycc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ stdenv.mkDerivation rec {

outputs = [ "out" "info" "man" ];

doCheck = true;
# Test segfault for static build
doCheck = !stdenv.hostPlatform.isStatic;

checkTarget = "test";
# https://www.mail-archive.com/tinycc-devel@nongnu.org/msg10142.html
preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
Expand Down

0 comments on commit c19d892

Please sign in to comment.