forked from OSchip/llvm-project
Make sure to update Target arch if environment changed
Summary: Fixes "target list" for non-android linux platforms (ie gnu, gnueabi) Reviewers: jasonmolenda, tfiala, clayborg, tberghammer Subscribers: tberghammer, danalbert, lldb-commits, sas Differential Revision: http://reviews.llvm.org/D18631 Change by Francis Ricci <fjricci@fb.com> llvm-svn: 265419
This commit is contained in:
parent
3553c0e5e7
commit
03f650ff14
|
@ -1301,7 +1301,7 @@ Target::SetArchitecture (const ArchSpec &arch_spec)
|
|||
os_ver_changed,
|
||||
env_changed);
|
||||
|
||||
if (!arch_changed && !vendor_changed && !os_changed)
|
||||
if (!arch_changed && !vendor_changed && !os_changed && !env_changed)
|
||||
replace_local_arch = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue