aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-31 21:48:19 -0500
committerJack Nagel2014-07-31 21:48:19 -0500
commit2c219431cc98e62e8ac37b0e12cfe7a5e67fef86 (patch)
tree501b96828014c6d5db37bac700a4e9cd204af415 /Library
parent48b85883347a68498633d293f30f5a08d49b47c7 (diff)
downloadhomebrew-2c219431cc98e62e8ac37b0e12cfe7a5e67fef86.tar.bz2
gcc: remove with-profiled-build option
It doesn't work, inside or outside of Homebrew. The option is still available in the homebrew-versions gcc, though. Closes #31261.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gcc.rb14
1 files changed, 1 insertions, 13 deletions
diff --git a/Library/Formula/gcc.rb b/Library/Formula/gcc.rb
index 3e57c9e7c..635c363d1 100644
--- a/Library/Formula/gcc.rb
+++ b/Library/Formula/gcc.rb
@@ -35,7 +35,6 @@ class Gcc < Formula
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
- option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
option "without-fortran", "Build without the gfortran compiler"
# enabling multilib on a host that can't run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
@@ -145,18 +144,7 @@ class Gcc < Formula
end
system "../configure", *args
-
- if build.with? "profiled-build"
- # Takes longer to build, may bug out. Provided for those who want to
- # optimise all the way to 11.
- system "make", "profiledbootstrap"
- else
- system "make", "bootstrap"
- end
-
- # At this point `make check` could be invoked to run the testsuite. The
- # deja-gnu and autogen formulae must be installed in order to do this.
-
+ system "make", "bootstrap"
system "make", "install"
if build.with?("fortran") || build.with?("all-languages")