Changeset d746bc8 for src/driver
- Timestamp:
- Jul 27, 2017, 2:55:31 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 4d4e5de
- Parents:
- b947fb2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cfa.cc
rb947fb2 rd746bc8 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jul 20 15:54:45 201713 // Update Count : 15 612 // Last Modified On : Fri Jan 20 14:38:45 2017 13 // Update Count : 155 14 14 // 15 15 … … 76 76 bool cpp_flag = false; // -E or -M flag, preprocessor only 77 77 bool std_flag = false; // -std= flag 78 bool noincstd_flag = false; // -no-include-stdhdr= flag 78 79 bool debugging __attribute(( unused )) = false; // -g flag 79 80 … … 133 134 } else if ( arg == "-nohelp" ) { 134 135 help = false; // strip the nohelp flag 136 } else if ( arg == "-no-include-stdhdr" ) { 137 noincstd_flag = true; // strip the no-include-stdhdr flag 135 138 } else if ( arg == "-compiler" ) { 136 139 // use the user specified compiler … … 231 234 args[nargs] = "-I" CFA_INCDIR; 232 235 nargs += 1; 233 args[nargs] = "-I" CFA_INCDIR "/stdhdr"; 234 nargs += 1; 236 if ( ! noincstd_flag ) { // do not use during build 237 args[nargs] = "-I" CFA_INCDIR "/stdhdr"; 238 nargs += 1; 239 } // if 235 240 args[nargs] = "-I" CFA_INCDIR "/concurrency"; 236 241 nargs += 1;
Note: See TracChangeset
for help on using the changeset viewer.