summaryrefslogtreecommitdiff
path: root/src/poolarch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/poolarch.c')
-rw-r--r--src/poolarch.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/poolarch.c b/src/poolarch.c
index e41f7d1..4299445 100644
--- a/src/poolarch.c
+++ b/src/poolarch.c
@@ -99,11 +99,7 @@ pool_setarchpolicy(Pool *pool, const char *arch)
pool->lastarch = 0;
return;
}
-#ifndef DEBIAN_SEMANTICS
- id = ARCH_NOARCH;
-#else
- id = ARCH_ALL;
-#endif
+ id = pool->noarchid;
lastarch = id + 255;
id2arch = solv_calloc(lastarch + 1, sizeof(Id));
id2arch[id] = 1; /* the "noarch" class */