diff options
author | Janne Heß <janne@hess.ooo> | 2022-05-18 13:50:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 13:50:23 +0200 |
commit | c911240e9cc2a7c12c985bd32700b9657b5698a9 (patch) | |
tree | dbc3be92b092f469cb5c633f22e907adcc531492 /pkgs/development/libraries/ncurses/default.nix | |
parent | 7456be85db41b32e0f3e2e7bd4371d4d4bd15816 (diff) |
Revert "Add mingwW64-llvm cross-system."
Diffstat (limited to 'pkgs/development/libraries/ncurses/default.nix')
-rw-r--r-- | pkgs/development/libraries/ncurses/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix index a661f5f216c20..2740b95986c9f 100644 --- a/pkgs/development/libraries/ncurses/default.nix +++ b/pkgs/development/libraries/ncurses/default.nix @@ -46,13 +46,7 @@ stdenv.mkDerivation rec { ]; # Only the C compiler, and explicitly not C++ compiler needs this flag on solaris: - CFLAGS = - # Only the C compiler, and explicitly not C++ compiler needs this flag on solaris: - /**/ if stdenv.isSunOS then "-D_XOPEN_SOURCE_EXTENDED" - # ucrt doesn't support X_OK to access() without this flag - else if stdenv.hostPlatform.libc == "ucrt" then "-D__USE_MINGW_ACCESS" - else ""; - + CFLAGS = lib.optionalString stdenv.isSunOS "-D_XOPEN_SOURCE_EXTENDED"; depsBuildBuild = [ buildPackages.stdenv.cc |