Changeset 12017
- Timestamp:
- 09/07/11 19:22:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/macros/rootlogon.C
r11896 r12017 176 176 gInterpreter->AddIncludePath(dir+"mcorsika"); 177 177 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 "; 181 179 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); 187 184 188 185 cout << "\033[32m" << "Welcome to the Mars Root environment." << "\033[0m" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.