diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-14 08:58:06 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-14 08:58:06 +0000 |
commit | a24a71cc6496db1e245b9cb55cbe7f5d8d2fe2e3 (patch) | |
tree | b9830288d3feaecb3cfe960d0d30da55e118bcca /gcc/configure.ac | |
parent | dc87a0dc403a2b913fde36b8a524de879e3ac6fd (diff) | |
download | gcc-a24a71cc6496db1e245b9cb55cbe7f5d8d2fe2e3.tar.gz |
* configure.ac (--with-specs): New option.
* configure: Regenerated.
* gcc.c (driver_self_specs): Include CONFIGURE_SPECS.
* Makefile.in (DRIVER_DEFINES): Add -DCONFIGURE_SPECS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155208 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 6ea6d7a8668..9622c23fd36 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -785,6 +785,14 @@ AC_SUBST(TARGET_SYSTEM_ROOT) AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) AC_SUBST(CROSS_SYSTEM_HEADER_DIR) +AC_ARG_WITH(specs, + [AS_HELP_STRING([--with-specs=SPECS], + [add SPECS to driver command-line processing])], + [CONFIGURE_SPECS=$withval], + [CONFIGURE_SPECS=] +) +AC_SUBST(CONFIGURE_SPECS) + # Build with intermodule optimisations AC_ARG_ENABLE(intermodule, [ --enable-intermodule build the compiler in one step], |