mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
jwhois: fix on aarch64-darwin
This is somewhat of a hack, and other packages are certainly affected by this issue (e.g. assh runs into it in some cgo code), but at least this documents a workaround in-tree and gets one more package building now.
This commit is contained in:
parent
a04e858da4
commit
9d3086d862
@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];
|
makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];
|
||||||
|
|
||||||
|
# Work around error from <stdio.h> on aarch64-darwin:
|
||||||
|
# error: 'TARGET_OS_IPHONE' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
|
||||||
|
# TODO: this should probably be fixed at a lower level than this?
|
||||||
|
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-Wno-undef-prefix";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A client for the WHOIS protocol allowing you to query the owner of a domain name";
|
description = "A client for the WHOIS protocol allowing you to query the owner of a domain name";
|
||||||
homepage = "https://www.gnu.org/software/jwhois/";
|
homepage = "https://www.gnu.org/software/jwhois/";
|
||||||
|
Loading…
Reference in New Issue
Block a user