Changeset 66f8528 for src/driver/cfa.cc
- Timestamp:
- Dec 15, 2016, 5:16:42 PM (9 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:
- 43385ca, f7ff3fb
- Parents:
- 5802a4f (diff), 596f987b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cfa.cc
r5802a4f r66f8528 231 231 } // if 232 232 233 string d;234 if ( debug ) {235 d = "-d";236 } // if237 238 233 // add the CFA include-library paths, which allow direct access to header files without directory qualification 239 240 234 args[nargs] = "-I" CFA_INCDIR; 241 235 nargs += 1; … … 244 238 nargs += 1; 245 239 } // if 240 args[nargs] = "-I" CFA_INCDIR "/concurrency"; 241 nargs += 1; 246 242 args[nargs] = "-I" CFA_INCDIR "/containers"; 247 243 nargs += 1; 248 244 245 #ifdef HAVE_LIBCFA 249 246 if ( link ) { 247 #if ! defined(HAVE_LIBCFA_RELEASE) 248 if( !debug ) { 249 cerr << "error: Option -nodebug is not available, libcfa was not installed." << endl; 250 exit( EXIT_FAILURE ); 251 } 252 #endif 253 #if ! defined(HAVE_LIBCFA_DEBUG) 254 if( debug ) { 255 cerr << "error: Option -debug is not available, libcfa-d was not installed." << endl; 256 exit( EXIT_FAILURE ); 257 } 258 #endif 259 250 260 // include the cfa library in case it's needed 251 261 args[nargs] = "-L" CFA_LIBDIR; 252 262 nargs += 1; 253 args[nargs] = "-lcfa"; 254 nargs += 1; 255 } // if 263 if( debug ) { 264 args[nargs] = "-lcfa-d"; 265 } else { 266 args[nargs] = "-lcfa"; 267 } 268 nargs += 1; 269 } // if 270 #endif //HAVE_LIBCFA 256 271 257 272 // add the correct set of flags based on the type of compile this is
Note:
See TracChangeset
for help on using the changeset viewer.