mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-19 14:22:18 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user