mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
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.
This commit is contained in:
parent
135c0c8368
commit
af272aca59
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user