summaryrefslogtreecommitdiff
path: root/Build/source/doc/buildinfo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/doc/buildinfo.sh')
-rwxr-xr-xBuild/source/doc/buildinfo.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/doc/buildinfo.sh b/Build/source/doc/buildinfo.sh
index be141e1b71b..7784ae5061c 100755
--- a/Build/source/doc/buildinfo.sh
+++ b/Build/source/doc/buildinfo.sh
@@ -14,13 +14,24 @@ printf 'UNAME\t"%s"\n' "`uname -a`"
# /etc/issue often contains only placeholders, so don't bother.
+printf 'MAKE\t"%s"\n' "${MAKE-make}"
printf 'MAKE-v\t"%s"\n' "`${MAKE-make} -v 2>&1 | sed 1q`"
# BSD make does not give version info with -v, but the
# first line of the usage message is sort of an identifier.
# our configure defaults to using gcc and g++.
+printf 'CC\t"%s"\n' "${CC-gcc}"
+printf 'CFLAGS\t"%s"\n' "${CFLAGS}"
printf 'CC-v\t"%s"\n' "`${CC-gcc} --version 2>&1 | sed 1q`"
+#
+printf 'CXX\t"%s"\n' "${CXX-g++}"
+printf 'CXXFLAGS\t"%s"\n' "${CXXFLAGS}"
printf 'CXX-v\t"%s"\n' "`${CXX-g++} --version 2>&1 | sed 1q`"
+#
+printf 'OBJCXX\t"%s"\n' "${OBJCXX-cc}"
+printf 'OBJCXXFLAGS\t"%s"\n' "${OBJCXXFLAGS}"
+#
+printf 'LDFLAGS\t"%s"\n' "${LDFLAGS}"
# Some Linux-based systems provide this, but don't worry if not there.
# Let's hope that other systems are sufficiently identified by uname,