Changeset d6f4488 for driver


Ignore:
Timestamp:
Aug 23, 2018, 11:06:16 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
9833cae0
Parents:
b740f0b
Message:

fix cfa -compiler flag

Location:
driver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • driver/cc1.cc

    rb740f0b rd6f4488  
    1010// Created On       : Fri Aug 26 14:23:51 2005
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Aug 22 17:26:09 2018
    13 // Update Count     : 120
     12// Last Modified On : Thu Aug 23 09:48:40 2018
     13// Update Count     : 122
    1414//
    1515
     
    6969        char *value;
    7070
    71         value = getenv( "__COMPILER__" );
     71        value = getenv( "__CFA_COMPILER__" );
    7272        if ( value != NULL ) {
    7373                compiler_name = value;
  • driver/cfa.cc

    rb740f0b rd6f4488  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Aug 22 17:26:19 2018
    13 // Update Count     : 265
     12// Last Modified On : Thu Aug 23 09:42:47 2018
     13// Update Count     : 267
    1414//
    1515
     
    9191        string Major( str( CFA_VERSION_MAJOR ) ), Minor( str( CFA_VERSION_MINOR ) ), Patch( str( CFA_VERSION_PATCH ) );
    9292
    93         string installincdir( CFA_INCDIR );                         // fixed location of include files
    94         string installlibdir( CFA_LIBDIR );                         // fixed location of cc1 and cfa-cpp commands when installed
    95         string srcdriverdir ( TOP_BUILDDIR "driver");                // fixed location of cc1 and cfa-cpp commands when in tree
     93        string installincdir( CFA_INCDIR );                                     // fixed location of include files
     94        string installlibdir( CFA_LIBDIR );                                     // fixed location of cc1 and cfa-cpp commands when installed
     95        string srcdriverdir ( TOP_BUILDDIR "driver");           // fixed location of cc1 and cfa-cpp commands when in tree
    9696
    9797        string heading;                                                                         // banner printed at start of cfa compilation
     
    183183                                if ( i == argc ) continue;                              // next argument available ?
    184184                                compiler_path = argv[i];
    185                                 if ( putenv( (char *)( *new string( string( "__U_COMPILER__=" ) + argv[i]) ).c_str() ) != 0 ) {
     185                                if ( putenv( (char *)( *new string( string( "__CFA_COMPILER__=" ) + argv[i]) ).c_str() ) != 0 ) {
    186186                                        cerr << argv[0] << " error, cannot set environment variable." << endl;
    187187                                        exit( EXIT_FAILURE );
Note: See TracChangeset for help on using the changeset viewer.