зеркало из https://github.com/mozilla/gecko-dev.git
Bug 669866 - Export CXX instead of defaulting to c++. r=ted
This commit is contained in:
Родитель
8392f09b3f
Коммит
16bd625fde
|
@ -67,7 +67,7 @@ def find_version(e):
|
|||
return encode_ver(last_version)
|
||||
|
||||
if __name__ == '__main__':
|
||||
cxx_env = os.environ.get('CXX', 'c++')
|
||||
cxx_env = os.environ['CXX']
|
||||
print 'MOZ_LIBSTDCXX_TARGET_VERSION=%s' % find_version(cxx_env)
|
||||
host_cxx_env = os.environ.get('HOST_CXX', cxx_env)
|
||||
print 'MOZ_LIBSTDCXX_HOST_VERSION=%s' % find_version(host_cxx_env)
|
||||
|
|
|
@ -7698,7 +7698,7 @@ MOZ_ARG_ENABLE_BOOL(stdcxx-compat,
|
|||
AC_SUBST(STDCXX_COMPAT)
|
||||
|
||||
if test -n "$STDCXX_COMPAT"; then
|
||||
eval $($PYTHON $_topsrcdir/build/autoconf/libstdcxx.py)
|
||||
eval $(CXX="$CXX" $PYTHON $_topsrcdir/build/autoconf/libstdcxx.py)
|
||||
AC_SUBST(MOZ_LIBSTDCXX_TARGET_VERSION)
|
||||
AC_SUBST(MOZ_LIBSTDCXX_HOST_VERSION)
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче