summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-10-25 15:33:44 +0000
committerKarl Berry <karl@freefriends.org>2014-10-25 15:33:44 +0000
commit343e1b1998de58c396efb4d2aced822714bbf682 (patch)
tree791875a289d5638728987e4b3482be8ed07f0926 /Build/source
parent9acced1ed8cbbbead5f5dcd6bec6a058f372e881 (diff)
objc needed on macs; check early for wrapper dirs
git-svn-id: svn://tug.org/texlive/trunk@35438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/Build7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/Build b/Build/source/Build
index efe904dd660..2389a106968 100755
--- a/Build/source/Build
+++ b/Build/source/Build
@@ -59,12 +59,13 @@ fi
if test "x$1" = x--debug || test "x$1" = x-g; then
shift
# 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.
+ # the environment with options common to all compilers --
+ # not necessarily anything to do with debugging, e.g., -mcpu=sparvc9.
: ${TL_COMPILER_GFLAGS=-g}
c="CFLAGS='$TL_COMPILER_GFLAGS'"
cxx="CXXFLAGS='$TL_COMPILER_GFLAGS'"
- TL_BUILD_ENV="$c $cxx $TL_BUILD_ENV"
+ objcxx="OBJCXXFLAGS='$TL_COMPILER_GFLAGS'" # needed only on macs
+ TL_BUILD_ENV="$c $cxx $objcxx $TL_BUILD_ENV"
fi
# allow override of configure location.