From 72f369adc3510185d001d6a8305f0817869fe9ee Mon Sep 17 00:00:00 2001 From: Coutinho de Souza Date: Thu, 16 Jan 2025 17:45:35 -0300 Subject: [PATCH] tinycc: fix build on gcc 14 --- pkgs/development/compilers/tinycc/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/compilers/tinycc/default.nix b/pkgs/development/compilers/tinycc/default.nix index 1f848fe9a9a5..a58af0c526fa 100644 --- a/pkgs/development/compilers/tinycc/default.nix +++ b/pkgs/development/compilers/tinycc/default.nix @@ -90,12 +90,10 @@ stdenv.mkDerivation (finalAttrs: { configureFlagsArray+=("--elfinterp=$(< $NIX_CC/nix-support/dynamic-linker)") ''; - env.NIX_CFLAGS_COMPILE = toString ( - lib.optionals stdenv.cc.isClang [ - "-Wno-error=implicit-int" - "-Wno-error=int-conversion" - ] - ); + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=implicit-int" + "-Wno-error=int-conversion" + ]; # Test segfault for static build doCheck = !stdenv.hostPlatform.isStatic;