ruby: remove --with-setjmp-type=setjmp on Darwin (#477492)

This commit is contained in:
Emily
2026-01-13 19:35:57 +00:00
committed by GitHub
@@ -237,13 +237,9 @@ let
++ lib.optional stdenv.cc.isGNU "CFLAGS=-O3"
++ [
]
++ ops stdenv.hostPlatform.isDarwin [
# on darwin, we have /usr/include/tk.h -- so the configure script detects
# that tk is installed
"--with-out-ext=tk"
# on yosemite, "generating encdb.h" will hang for a very long time without this flag
"--with-setjmp-type=setjmp"
]
# on darwin, we have /usr/include/tk.h -- so the configure script detects
# that tk is installed
++ lib.optional stdenv.hostPlatform.isDarwin "--with-out-ext=tk"
++ ops stdenv.hostPlatform.isFreeBSD [
"rb_cv_gnu_qsort_r=no"
"rb_cv_bsd_qsort_r=yes"