From ffedf5114c8bdd5b024fb87e23b935e7d90c6ff3 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sat, 2 Oct 2010 14:52:07 +0000 Subject: Allow to pass separate configure arguments for build, host and target. /: PR bootstrap/45326 PR bootstrap/45174 * configure.ac: Honor initial values of $build_configargs, $host_configargs, $target_configargs. Mark the precious, so environment settings get recorded. * configure: Regenerate. gcc/: * doc/install.texi (Configuration): Document build_configargs, host_configargs, target_configargs. From-SVN: r164904 --- gcc/ChangeLog | 5 +++++ gcc/doc/install.texi | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7c2e64..5c22678 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-10-02 Ralf Wildenhues + + * doc/install.texi (Configuration): Document build_configargs, + host_configargs, target_configargs. + 2010-10-01 Uros Bizjak * config/i386/i386.md (*ashl3_mask): New insn_and_split pattern. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index a54b450..ce6b5cf 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1991,6 +1991,36 @@ Do not try to compile and run a test libart program. @end table +@subsubheading Overriding @command{configure} test results + +Sometimes, it might be necessary to override the result of some +@command{configure} test, for example in order to ease porting to a new +system or work around a bug in a test. The toplevel @command{configure} +script provides three variables for this: + +@table @code + +@item build_configargs +@cindex @code{build_configargs} +The contents of this variable is passed to all build @command{configure} +scripts. + +@item host_configargs +@cindex @code{host_configargs} +The contents of this variable is passed to all host @command{configure} +scripts. + +@item target_configargs +@cindex @code{target_configargs} +The contents of this variable is passed to all target @command{configure} +scripts. + +@end table + +In order to avoid shell and @command{make} quoting issues for complex +overrides, you can pass a setting for @env{CONFIG_SITE} and set +variables in the site file. + @html

-- cgit v1.1