Re-add -cxx-isystem and -iremap, lost in the GCC 4.8 transition.
This commit is contained in:
parent
d316f09705
commit
b319e84295
|
@ -284,6 +284,10 @@ c_common_handle_option (size_t scode, const char *arg, int value,
|
|||
cpp_opts->discard_comments_in_macro_exp = 0;
|
||||
break;
|
||||
|
||||
case OPT_cxx_isystem:
|
||||
add_path (xstrdup (arg), SYSTEM, 1, true);
|
||||
break;
|
||||
|
||||
case OPT_D:
|
||||
defer_opt (code, arg);
|
||||
break;
|
||||
|
@ -606,6 +610,10 @@ c_common_handle_option (size_t scode, const char *arg, int value,
|
|||
add_path (xstrdup (arg), QUOTE, 0, true);
|
||||
break;
|
||||
|
||||
case OPT_iremap:
|
||||
add_cpp_remap_path (arg);
|
||||
break;
|
||||
|
||||
case OPT_isysroot:
|
||||
sysroot = arg;
|
||||
break;
|
||||
|
|
|
@ -801,6 +801,12 @@ ansi
|
|||
C ObjC C++ ObjC++
|
||||
A synonym for -std=c89 (for C) or -std=c++98 (for C++)
|
||||
|
||||
; This should really just be C++/ObjC++ but we (NetBSD) use it when
|
||||
; calling C and ObjC compilers as well.
|
||||
cxx-isystem
|
||||
C ObjC C++ ObjC++ Joined Separate MissingArgError(missing path after %qs)
|
||||
-cxx-isystem <dir> Add <dir> to the start of the C++ system include path
|
||||
|
||||
d
|
||||
C ObjC C++ ObjC++ Joined
|
||||
; Documented in common.opt. FIXME - what about -dI, -dD, -dN and -dD?
|
||||
|
@ -1277,6 +1283,10 @@ iquote
|
|||
C ObjC C++ ObjC++ Joined Separate MissingArgError(missing path after %qs)
|
||||
-iquote <dir> Add <dir> to the end of the quote include path
|
||||
|
||||
iremap
|
||||
C ObjC C++ ObjC++ Joined Separate MissingArgError(missing path after %qs)
|
||||
-iremap <src:dst> Convert <src> to <dst> if it occurs as prefix in __FILE__.
|
||||
|
||||
iwithprefix
|
||||
C ObjC C++ ObjC++ Joined Separate
|
||||
-iwithprefix <dir> Add <dir> to the end of the system include path
|
||||
|
|
Loading…
Reference in New Issue