diff options
author | Tom Tromey <tromey@adacore.com> | 2020-06-19 07:52:42 -0600 |
---|---|---|
committer | Jacob Bachmeyer <jcb62281+dev@gmail.com> | 2020-06-20 21:59:48 -0500 |
commit | 57edff84aa64cd73600491335f734e83151d39f3 (patch) | |
tree | b47c951ca1d12ec05488537a4579a0fb51c68432 /doc | |
parent | 5fafcd43b2d22b2227e62f7278584418c6449824 (diff) | |
download | dejagnu-57edff84aa64cd73600491335f734e83151d39f3.zip dejagnu-57edff84aa64cd73600491335f734e83151d39f3.tar.gz dejagnu-57edff84aa64cd73600491335f734e83151d39f3.tar.bz2 |
Add early_flags to default_target_compile
This adds early_flags support to default_target_compile. This
originated in this gdb patch:
commit 6ebea266fd0a7a56c90db3ab6237ff9f6c919747
Author: Doug Evans <dje@google.com>
Date: Fri Jul 24 15:24:37 2015 -0700
Workaround debian change to default value of --as-needed.
gdb/testsuite/ChangeLog:
* lib/future.exp (gdb_default_target_compile): New option
"early_flags".
* lib/gdb.exp (gdb_compile): Undo debian's change in default of
--as-needed.
This patch also pulls in the "linker_opts_order" code, though nothing
uses it yet. A use will come in a subsequent patch.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dejagnu.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index bb386e8..fd7f16f 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi @@ -10,7 +10,7 @@ @copying @c man begin COPYRIGHT -Copyright @copyright{} 1992-2019 Free Software Foundation, Inc. +Copyright @copyright{} 1992-2020 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -4595,6 +4595,9 @@ this option is given multiple times, only the last use is significant. @item compiler=@var{command} Override the defaults and use @var{command} as the compiler. If this option is given multiple times, only the last use is significant. +@item early_flags=@var{flags} +Prepend @var{flags} to the set of arguments to be passed to the compiler. +Multiple uses of this option specify additional arguments. @item additional_flags=@var{flags} Add @var{flags} to the set of arguments to be passed to the compiler. Multiple uses of this option specify additional arguments. |