mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-10 12:59:21 +03:00
ir2obj: also ignore the -lib
cmdline flag for hashing
This commit is contained in:
parent
8787c4bc40
commit
88439535d5
2 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,9 @@ void outputIR2ObjRelevantCmdlineArgs(llvm::raw_ostream &hash_os)
|
|||
// All "-ir2..." options can be ignored
|
||||
if (arg[1] == 'i' && arg[2] == 'r' && arg[3] == '2')
|
||||
continue;
|
||||
// Ignore "-lib"
|
||||
if (arg[1] == 'l' && arg[2] == 'i' && arg[3] == 'b' && !arg[4])
|
||||
continue;
|
||||
// All effects of -d-version... are already included in the IR hash.
|
||||
if (strncmp(arg+1, "d-version", 9) == 0)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue