diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-19 00:01:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-19 00:01:15 +0000 |
commit | 06f38e5fc22bbeadabc1be11eb77f6d27cd3140c (patch) | |
tree | c020ad9a6ec32882768c72d2ec2fa29873120037 /Makefile | |
parent | d057f7d5eec11c118af2a0620cb06495f03ca8b3 (diff) | |
download | compiler-rt-06f38e5fc22bbeadabc1be11eb77f6d27cd3140c.tar.gz |
Allow UniversalArchs variable to be overridden on a per-config basis.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -136,7 +136,9 @@ $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config)) # not. $(call Set,Tmp.ArchsToBuild,\ $(if $(call IsDefined,$(Tmp.Key).UniversalArchs),\ - $($(Tmp.Key).UniversalArchs),\ + $(strip \ + $(or $($(Tmp.Key).UniversalArchs.$(Tmp.Config)),\ + $($(Tmp.Key).UniversalArchs))),\ $(call VarOrDefault,$(Tmp.Key).Arch.$(Tmp.Config),$($(Tmp.Key).Arch)))) # Copy or lipo to create the per-config library. |