ruby: fix build on darwin
cc-tools 949.0.1 added a warning on linking which ruby misinterprets as an error with LDFLAGS.
This commit is contained in:
parent
2f31499703
commit
d73cc1e586
@ -125,6 +125,10 @@ let
|
||||
"--with-out-ext=tk"
|
||||
# on yosemite, "generating encdb.h" will hang for a very long time without this flag
|
||||
"--with-setjmp-type=setjmp"
|
||||
# silence linker warnings after upgrading darwin.cctools to 949.0.1,
|
||||
# which ruby treats as problem with LDFLAGS
|
||||
# https://github.com/NixOS/nixpkgs/issues/101330
|
||||
"LDFLAGS=-Wl,-w"
|
||||
]
|
||||
++ op (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
"--with-baseruby=${buildRuby}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user