Unverified Commit bbfbfb41 authored by Emily's avatar Emily Committed by GitHub
Browse files

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

parents 957b08e3 419ae375
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -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"
          ]
          ++ 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"