mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
bb: fix build on aarch64-darwin
This commit is contained in:
parent
3db0fa106d
commit
339f4e5579
@ -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 New Issue
Block a user