summaryrefslogtreecommitdiff
path: root/Build/source/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-09 18:53:05 +0000
committerKarl Berry <karl@freefriends.org>2018-01-09 18:53:05 +0000
commit9b0195121df2c53bdd030fdec6d7871f27f057f0 (patch)
treef58fc29c2856f942f64b30d91a1fc9247e1d5b10 /Build/source/Build
parent332064c92a01296b5dd2d25524d0f8286ccdd107 (diff)
poppler 0.62.0, requiring C++11; luatex not updated yet
git-svn-id: svn://tug.org/texlive/trunk@46257 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/Build')
-rwxr-xr-xBuild/source/Build8
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/Build b/Build/source/Build
index 1cc955f83d5..9229199890d 100755
--- a/Build/source/Build
+++ b/Build/source/Build
@@ -61,10 +61,12 @@ if test "x$1" = x--debug || test "x$1" = x-g; then
# The idea is that with Build -g, you can set TL_COMPILER_GFLAGS in
# the environment with options common to all compilers --
# not necessarily anything to do with debugging, e.g., -mcpu=sparvc9.
+ # Or you can set TL_{C,CXX,OBJCXX}FLAGS for per-language flags,
+ # notably TL_CFLAGS=-Wdeclaration-after-statement.
: ${TL_COMPILER_GFLAGS=-g}
- c="CFLAGS='$TL_COMPILER_GFLAGS'"
- cxx="CXXFLAGS='$TL_COMPILER_GFLAGS'"
- objcxx="OBJCXXFLAGS='$TL_COMPILER_GFLAGS'" # needed only on macs
+ c="CFLAGS='$TL_COMPILER_GFLAGS $TL_CFLAGS'"
+ cxx="CXXFLAGS='$TL_COMPILER_GFLAGS $TL_CXXFLAGS'"
+ objcxx="OBJCXXFLAGS='$TL_COMPILER_GFLAGS $TL_OBJCXXFLAGS'" # only for macs
TL_BUILD_ENV="$c $cxx $objcxx $TL_BUILD_ENV"
fi