simavr: fix build with gcc9
This commit is contained in:
@@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
|
|||||||
"AVR=avr-"
|
"AVR=avr-"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ which pkgconfig avrgcc ];
|
nativeBuildInputs = [ which pkgconfig avrgcc ];
|
||||||
buildInputs = [ libelf freeglut libGLU_combined ]
|
buildInputs = [ libelf freeglut libGLU_combined ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin GLUT;
|
++ stdenv.lib.optional stdenv.isDarwin GLUT;
|
||||||
|
|||||||
Reference in New Issue
Block a user