|
|
|
@ -584,6 +584,7 @@ PACKAGE_URL='' |
|
|
|
|
|
|
|
ac_subst_vars='LTLIBOBJS |
|
|
|
LIBOBJS |
|
|
|
cmodel |
|
|
|
gcc_checking |
|
|
|
multilib_names |
|
|
|
multilib_flags |
|
|
|
@ -655,6 +656,7 @@ with_arch |
|
|
|
with_abi |
|
|
|
enable_multilib |
|
|
|
enable_gcc_checking |
|
|
|
with_cmodel |
|
|
|
' |
|
|
|
ac_precious_vars='build_alias |
|
|
|
host_alias |
|
|
|
@ -1299,6 +1301,8 @@ Optional Packages: |
|
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
|
--with-arch=rv64imafdc Sets the base RISC-V ISA, defaults to rv64imafdc |
|
|
|
--with-abi=lp64d Sets the base RISC-V ABI, defaults to lp64d |
|
|
|
--with-cmodel Select the code model to use when building libc and |
|
|
|
libgcc [--with-cmodel=medlow] |
|
|
|
|
|
|
|
Some influential environment variables: |
|
|
|
CC C compiler command |
|
|
|
@ -3304,6 +3308,23 @@ else |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Check whether --with-cmodel was given. |
|
|
|
if test "${with_cmodel+set}" = set; then : |
|
|
|
withval=$with_cmodel; |
|
|
|
else |
|
|
|
enable_gcc_checking=yes |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test "x$with_cmodel" != x; then : |
|
|
|
cmodel=-mcmodel=$with_cmodel |
|
|
|
|
|
|
|
else |
|
|
|
cmodel=-mcmodel=medlow |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
ac_config_files="$ac_config_files Makefile" |
|
|
|
|
|
|
|
ac_config_files="$ac_config_files scripts/wrapper/awk/awk" |
|
|
|
|