aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-02 12:01:06 -0400
committerGitHub2016-11-02 12:01:06 -0400
commit89fd34b24eed98530010ab31465ef9e3668b5976 (patch)
treece301540507593825aeac7017093172567288be5 /Library
parentb3ef8bd0445a3a3c01879c42bd64d16e1258f893 (diff)
parent3396d479d2cc87fed0f9a74f711881ea1784e0d6 (diff)
downloadbrew-89fd34b24eed98530010ab31465ef9e3668b5976.tar.bz2
Merge pull request #1368 from MikeMcQuaid/build-options-file
build: write options to file.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/build.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index d3c2833d4..c4e903642 100644
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -132,6 +132,8 @@ class Build
else
formula.prefix.mkpath
+ (formula.logs/"00.options.out").write \
+ "#{formula.full_name} #{formula.build.used_options.sort.join(" ")}".strip
formula.install
stdlibs = detect_stdlibs(ENV.compiler)