diff options
Diffstat (limited to 'Build/source')
-rwxr-xr-x | Build/source/Build | 7 |
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. |