Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preudhomme <thomas.preudhomme@foss.arm.com>2017-02-07 19:58:27 +0300
committerCorinna Vinschen <corinna@vinschen.de>2017-02-13 11:18:00 +0300
commitaf272aca591fe1dc0f1be64ae5bda147ea98a047 (patch)
treeddcb72dcddf9e3fecf1ced431116954717087af2 /libgloss/arm/elf-nano.specs
parent135c0c83680d5d39bfe326e497ace47c0bff1650 (diff)
Fix cpp invocation for C++ in nano spec
Hi, The changes in c028685518a261f6d0dab0d7ed15f9570ab9b3d0 to use newlib-nano's include directory work for cc1 but not cc1plus. cc1plus comes with its own cpp spec which does not have a name attached to it. This patch uses the renaming trick on cpp_options instead of cpp, as cpp_options is used both by cc1 and cc1plus.
Diffstat (limited to 'libgloss/arm/elf-nano.specs')
-rw-r--r--libgloss/arm/elf-nano.specs6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgloss/arm/elf-nano.specs b/libgloss/arm/elf-nano.specs
index 575f47d38..324107e2c 100644
--- a/libgloss/arm/elf-nano.specs
+++ b/libgloss/arm/elf-nano.specs
@@ -1,9 +1,9 @@
%rename link nano_link
%rename link_gcc_c_sequence nano_link_gcc_c_sequence
-%rename cpp nano_cpp
+%rename cpp_options nano_cpp_options
-*cpp:
--isystem =/include/newlib-nano %(nano_cpp)
+*cpp_options:
+-isystem =/include/newlib-nano %(nano_cpp_options)
*nano_libc:
-lc_nano