mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
simavr: fix build with gcc9
This commit is contained in:
parent
c095ce8608
commit
77cdd72c65
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user