gcc.c (getenv_spec_function): New function.
authorMark Mitchell <mark@codesourcery.com>
Thu, 22 Feb 2007 23:49:15 +0000 (23:49 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 22 Feb 2007 23:49:15 +0000 (23:49 +0000)
commit30d8946bae4f0241144a3bff2cab024b24bb3520
treedcb598c670d33f19a370e00849a60a24d74c701c
parentb69862d1ef8332ab49654ae0b83656a87964729b
gcc.c (getenv_spec_function): New function.

* gcc.c (getenv_spec_function): New function.
(static_spec_functions): Add it.
* config/vxworks.h (VXWORKS_TARGET_DIR): Remove.
(VXWORKS_ADDITIONAL_CPP_SPEC): Use getenv to find the VxWorks
header files.

From-SVN: r122240
gcc/ChangeLog
gcc/config/vxworks.h
gcc/gcc.c