fairymax: enable clang/darwin build (#113728)

* fairymax: enable clang/darwin build

* fairymax: enable all platforms
This commit is contained in:
Travis Whitton
2021-02-20 10:24:20 -05:00
committed by GitHub
parent e735b86183
commit e1eb2c16b9

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
cp ${ini} fmax.ini
'';
buildPhase = ''
gcc *.c -o fairymax -DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"'
$CC *.c -Wno-return-type -o fairymax -DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"'
'';
installPhase = ''
mkdir -p "$out"/{bin,share/fairymax}
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
'';
license = lib.licenses.free ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
homepage = "http://home.hccnet.nl/h.g.muller/dwnldpage.html";
};
}