Fixes #69172
@ -186,7 +186,12 @@ stdenv.mkDerivation ({
sed -i gcc/config/linux.h -e '1i#undef LOCAL_INCLUDE_DIR'
''
)
else "");
else "")
+ stdenv.lib.optionalString targetPlatform.isAvr ''
makeFlagsArray+=(
'LIMITS_H_TEST=false'
'';
inherit noSysDirs staticCompiler crossStageStatic
libcCross crossMingw;
@ -185,7 +185,12 @@ stdenv.mkDerivation ({