Commit c19d8926 authored by happysalada's avatar happysalada Committed by Yt
Browse files

tinycc: fix static build

parent aa0d00f5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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) ''