Skip to content

Commit

Permalink
[core] Deprecate !(ACLiC.LinkLibs & 1). Remove ancient macOS case.
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Nov 3, 2021
1 parent 6906159 commit c08b2da
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/base/src/TSystem.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3317,15 +3317,17 @@ int TSystem::CompileMacro(const char *filename, Option_t *opt,
#endif
Bool_t linkDepLibraries = !produceRootmap;
if (gEnv) {
#if (defined(R__MACOSX) && !defined(MAC_OS_X_VERSION_10_5))
Int_t linkLibs = gEnv->GetValue("ACLiC.LinkLibs",2);
#elif defined(R__WIN32)
#if defined(R__WIN32)
Int_t linkLibs = gEnv->GetValue("ACLiC.LinkLibs",3);
#else
Int_t linkLibs = gEnv->GetValue("ACLiC.LinkLibs",1);
#endif
produceRootmap = linkLibs & 0x2;
linkDepLibraries = linkLibs & 0x1;
if (!linkDepLibraries) {
static int onetime = (Warning("ACLiC", "Unsetting `ACLiC.LinkLibs & 1` is deprecated!"), 1);
(void)onetime;
}
}

// FIXME: Triggers clang false positive warning -Wunused-lambda-capture.
Expand Down

0 comments on commit c08b2da

Please sign in to comment.