Revert "ruby: enable O3 optimization"
This reverts commit 64e09fac3d
.
This commit should go to staging first.
This commit is contained in:
parent
3364c75574
commit
4f16be72cb
1 changed files with 0 additions and 4 deletions
|
@ -137,10 +137,6 @@ let
|
||||||
(lib.enableFeature docSupport "install-doc")
|
(lib.enableFeature docSupport "install-doc")
|
||||||
(lib.withFeature jemallocSupport "jemalloc")
|
(lib.withFeature jemallocSupport "jemalloc")
|
||||||
(lib.withFeatureAs docSupport "ridir" "${placeholder "devdoc"}/share/ri")
|
(lib.withFeatureAs docSupport "ridir" "${placeholder "devdoc"}/share/ri")
|
||||||
# ruby enables -O3 for gcc, however our compiler hardening wrapper
|
|
||||||
# overrides that by enabling `-O2` which is the minimum optimization
|
|
||||||
# needed for `_FORTIFY_SOURCE`.
|
|
||||||
] ++ lib.optional stdenv.cc.isGNU "CFLAGS=-O3" ++ [
|
|
||||||
] ++ ops stdenv.isDarwin [
|
] ++ ops stdenv.isDarwin [
|
||||||
# on darwin, we have /usr/include/tk.h -- so the configure script detects
|
# on darwin, we have /usr/include/tk.h -- so the configure script detects
|
||||||
# that tk is installed
|
# that tk is installed
|
||||||
|
|
Loading…
Reference in a new issue