From d7619ccf8b6171d68e28c668e79901dbfc1acda2 Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Sun, 25 May 2014 16:19:14 -0700 Subject: [PATCH] 10.9 install doc formatting --- docs/installation.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 5ad6c6c..1210bfc 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -124,16 +124,14 @@ The prerequisite homebrew formulae are For each of these formulas, `brew edit FORMULA`, and add the ENV definitions as shown: -``` - def install - # ADD THE FOLLOWING: - ENV.append "CXXFLAGS", "-stdlib=libstdc++" - ENV.append "CFLAGS", "-stdlib=libstdc++" - ENV.append "LDFLAGS", "-stdlib=libstdc++ -lstdc++" - # The following is necessary because libtool likes to strip LDFLAGS: - ENV["CXX"] = "/usr/bin/clang -stdlib=libstdc++" - ... -``` + def install + # ADD THE FOLLOWING: + ENV.append "CXXFLAGS", "-stdlib=libstdc++" + ENV.append "CFLAGS", "-stdlib=libstdc++" + ENV.append "LDFLAGS", "-stdlib=libstdc++ -lstdc++" + # The following is necessary because libtool likes to strip LDFLAGS: + ENV["CXX"] = "/usr/bin/clang -stdlib=libstdc++" + ... To edit the formulae in turn, run -- 2.7.4