simavr: fix build with gcc9
This commit is contained in:
parent
c095ce8608
commit
77cdd72c65
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue