Changeset 12017


Ignore:
Timestamp:
09/07/11 19:22:17 (13 years ago)
Author:
tbretz
Message:
Updated to have HAVE_ZLIB defined.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/macros/rootlogon.C

    r11896 r12017  
    176176    gInterpreter->AddIncludePath(dir+"mcorsika");
    177177
    178     if (TString("linux")==gSystem->GetBuildArch())
    179     {
    180         TString options = " -O3 -D__MARS__ -pipe -Wall -Woverloaded-virtual -fno-exceptions -fPIC ";
     178    TString options = " -O3 -DHAVE_ZLIB -D__MARS__ -pipe -Wall -Woverloaded-virtual -fno-exceptions -fPIC ";
    181179
    182         TString s = "cd $BuildDir ; ";
    183         s += "g++ -c" + options + "-Iinclude -D_REENTRANT $IncludePath $SourceFiles ; ";
    184         s += "g++ $ObjectFiles -shared -Wl,-soname,$LibName.so -O -o $SharedLib";
    185         gSystem->SetMakeSharedLib(s);
    186     }
     180    TString s = "cd $BuildDir ; ";
     181    s += "g++ -c" + options + "-Iinclude -D_REENTRANT $IncludePath $SourceFiles ; ";
     182    s += "g++ $ObjectFiles -shared -Wl,-soname,$LibName.so -O -o $SharedLib";
     183    gSystem->SetMakeSharedLib(s);
    187184
    188185    cout << "\033[32m" << "Welcome to the Mars Root environment." << "\033[0m" << endl;
Note: See TracChangeset for help on using the changeset viewer.