diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-06-08 17:57:33 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-06-08 17:57:33 +0300 |
commit | 97a5d1c93afc02b2b29e13fd7449855576b5504e (patch) | |
tree | e7f495e1ea69a8c73e3fce05463f46d76944cf11 /pkgs/games/xconq | |
parent | 63410a777937c467a194e90feb8628fc6ce01564 (diff) |
xconq: add darwin support
Diffstat (limited to 'pkgs/games/xconq')
-rw-r--r-- | pkgs/games/xconq/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/games/xconq/default.nix b/pkgs/games/xconq/default.nix index ee6748676bd30..78a7949d1a911 100644 --- a/pkgs/games/xconq/default.nix +++ b/pkgs/games/xconq/default.nix @@ -19,7 +19,13 @@ stdenv.mkDerivation rec { "--with-tkconfig=${tk}/lib" ]; - CXXFLAGS = " --std=c++11 "; + env.CXXFLAGS = toString [ + "-std=c++11" + "-DUSE_INTERP_RESULT" + "-Wno-writable-strings" + ]; + + enableParallelBuilding = true; hardeningDisable = [ "format" ]; @@ -49,7 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A programmable turn-based strategy game"; maintainers = with maintainers; [ raskin ]; - platforms = platforms.linux; + platforms = platforms.unix; license = licenses.gpl2; }; } |