Merge pull request #178101 from Mic92/ruby-fixup

Revert "ruby: enable O3 optimization"

authored by Jörg Thalheim and committed by GitHub 5041c1bd 3364c755

-4
-4
pkgs/development/interpreters/ruby/default.nix
··· 137 137 (lib.enableFeature docSupport "install-doc") 138 138 (lib.withFeature jemallocSupport "jemalloc") 139 139 (lib.withFeatureAs docSupport "ridir" "${placeholder "devdoc"}/share/ri") 140 - # ruby enables -O3 for gcc, however our compiler hardening wrapper 141 - # overrides that by enabling `-O2` which is the minimum optimization 142 - # needed for `_FORTIFY_SOURCE`. 143 - ] ++ lib.optional stdenv.cc.isGNU "CFLAGS=-O3" ++ [ 144 140 ] ++ ops stdenv.isDarwin [ 145 141 # on darwin, we have /usr/include/tk.h -- so the configure script detects 146 142 # that tk is installed