diff options
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 8163dd9f..3a5452bf 100644 --- a/meson.build +++ b/meson.build @@ -66,7 +66,10 @@ add_project_arguments('-DPLUGINDIR="'+join_paths(get_option('prefix'), add_project_arguments('-DLOCALEDIR="'+join_paths(get_option('prefix'), get_option('localedir'))+'"', language : 'c') -add_project_arguments('-DTARGET_ALIAS="xxxx"', + +# NB Code uses TARGET_ALIAS where it should really be HOST_ALIAS +# "*_ALIAS" is an autotools-ism, so make something similar here. +add_project_arguments('-DTARGET_ALIAS="'+host_machine.cpu_family()+'-'+host_machine.system()+'"', language : 'c') if openssl.found() |