diff options
Diffstat (limited to 'libgcc/configure')
-rw-r--r-- | libgcc/configure | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libgcc/configure b/libgcc/configure index 3c0af1c..5c900cc 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -561,6 +561,7 @@ enable_execute_stack asm_hidden_op extra_parts cpu_type +get_gcc_base_ver thread_header tm_defines tm_file @@ -676,6 +677,7 @@ with_system_libunwind enable_explicit_exception_frame_registration with_glibc_version enable_tls +with_gcc_major_version_only ' ac_precious_vars='build_alias host_alias @@ -1330,6 +1332,8 @@ Optional Packages: --with-system-libunwind use installed libunwind --with-glibc-version=M.N assume GCC used with glibc version M.N or later + --with-gcc-major-version-only + use only GCC major number in filesystem paths Some influential environment variables: CC C compiler command @@ -5084,6 +5088,21 @@ esac +# Determine what GCC version number to use in filesystem paths. + + get_gcc_base_ver="cat" + +# Check whether --with-gcc-major-version-only was given. +if test "${with_gcc_major_version_only+set}" = set; then : + withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then + get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'" + fi + +fi + + + + # Substitute configuration variables |