diff options
Diffstat (limited to 'gas/configure.ac')
-rw-r--r-- | gas/configure.ac | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/gas/configure.ac b/gas/configure.ac index e97ec59..78fe021 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -117,6 +117,15 @@ AC_ARG_ENABLE(elf_stt_common, yes) ac_default_elf_stt_common=1 ;; esac])dnl +ac_default_sframe=unset +# Provide a configure time option to override our default. +AC_ARG_ENABLE(default-sframe, + AS_HELP_STRING([--enable-default-sframe], + [generate SFrame by default]), +[case "${enableval}" in + yes) ac_default_sframe=1 ;; + no) ac_default_sframe=0 ;; +esac])dnl # Decide if the ELF assembler should default to generating # GNU Build notes if none are provided by the input. @@ -653,7 +662,7 @@ changequote([,])dnl fi AC_MSG_RESULT($with_isa_spec) - # --with-priv-spec=[1.9.1|1.10|1.11|1.12]. + # --with-priv-spec=[1.9.1|1.10|1.11|1.12|1.13]. AC_MSG_CHECKING(for default configuration of --with-priv-spec) if test "x${with_priv_spec}" != x; then AC_DEFINE_UNQUOTED(DEFAULT_RISCV_PRIV_SPEC, "$with_priv_spec", @@ -757,6 +766,13 @@ AC_DEFINE_UNQUOTED(DEFAULT_GENERATE_ELF_STT_COMMON, [Define to 1 if you want to generate ELF common symbols with the STT_COMMON type by default.]) +if test ${ac_default_sframe} = unset; then + ac_default_sframe=0 +fi +AC_DEFINE_UNQUOTED(DEFAULT_SFRAME, + $ac_default_sframe, + [Define to 1 if you want to emit SFrames by default.]) + AC_DEFINE_UNQUOTED(DEFAULT_GENERATE_BUILD_NOTES, $ac_default_generate_build_notes, [Define to 1 if you want to generate GNU Build attribute notes @@ -942,7 +958,6 @@ AM_PROG_LEX ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN" ZW_GNU_GETTEXT_SISTER_DIR -AM_PO_SUBDIRS AM_MAINTAINER_MODE AM_CONDITIONAL(GENINSRC_NEVER, false) |