ruby: remove --with-setjmp-type=setjmp on Darwin (#477492)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user