builder: Fix ordering of arch-specific build options

The arch-specific options override the generic ones,
not the other way around.
This commit is contained in:
Alexander Larsson
2017-03-14 10:37:12 +01:00
parent 0f0188aacb
commit 4e2b103167

View File

@@ -482,12 +482,12 @@ get_arched_options (BuilderOptions *self, BuilderContext *context)
const char *arch = builder_context_get_arch (context);
BuilderOptions *arch_options;
options = g_list_prepend (options, self);
arch_options = g_hash_table_lookup (self->arch, arch);
if (arch_options)
options = g_list_prepend (options, arch_options);
options = g_list_prepend (options, self);
return options;
}