simavr: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 14:14:32 +01:00
parent c095ce8608
commit 77cdd72c65
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
"AVR=avr-"
];
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
nativeBuildInputs = [ which pkgconfig avrgcc ];
buildInputs = [ libelf freeglut libGLU_combined ]
++ stdenv.lib.optional stdenv.isDarwin GLUT;