]> sourceware.org Git - newlib-cygwin.git/commit
Fix elf-nano.specs to work without -save-temps
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 15 Feb 2017 10:51:54 +0000 (10:51 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 15 Feb 2017 15:31:16 +0000 (16:31 +0100)
commitbe5926babbfb23ded1de2181a7524b8c3eebe34c
tree219a095b24c7c21a52c185b833f12dddbb4df81a
parentccabeae4e3c684945f402e42e102cb976065ca2e
Fix elf-nano.specs to work without -save-temps

The changes in af272aca591fe1dc0f1be64ae5bda147ea98a047 only works when
using gcc/g++ with -E or -save-temps, otherwise newlib's newlib.h gets
used even if -specs=nano.specs is specified. This is because the driver
only use cpp_options spec for the external cpp tool, not for the
integrated one.

This patch uses instead cpp_unique_options which is used in all cases:
it is used directly when the integrated preprocessor is used, and
indirectly by expansion of cpp_options otherwise.
libgloss/arm/elf-nano.specs
This page took 0.028651 seconds and 5 git commands to generate.