remove redundant arch list truncation in single_arch case
beyond this point, simulator_archs is only used to determine from which one of the lists the remaining arch came from (and device_archs is actually never used again). the lists are assumed to be mutually exclusive, so truncating them won't affect in which of them the first element of their concatenation is found. Change-Id: I4736ed7e51f6623efa6bd37892ab1fcf8c83ae8b Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
afd82630c2
commit
b5c809eb96
@ -48,11 +48,7 @@ macx-xcode {
|
||||
QMAKE_XARCH_LFLAGS =
|
||||
QMAKE_EXTRA_VARIABLES += QMAKE_XARCH_CFLAGS QMAKE_XARCH_LFLAGS
|
||||
|
||||
single_arch {
|
||||
device_archs = $$first(device_archs)
|
||||
simulator_archs = $$first(simulator_archs)
|
||||
archs = $$first(archs)
|
||||
}
|
||||
single_arch: archs = $$first(archs)
|
||||
|
||||
for (arch, archs) {
|
||||
contains(simulator_archs, $$arch) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user