bb: fix build on aarch64-darwin
This commit is contained in:
parent
3db0fa106d
commit
339f4e5579
1 changed files with 5 additions and 1 deletions
|
@ -18,10 +18,14 @@ stdenv.mkDerivation rec {
|
|||
sed -i -e '/^#include <malloc.h>$/d' *.c
|
||||
'';
|
||||
|
||||
# error: 'regparm' is not valid on this platform
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64)
|
||||
"-D__STRICT_ANSI__";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://aa-project.sourceforge.net/bb";
|
||||
description = "AA-lib demo";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.rnhmjoj ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue