registry: We name the registry after the target cpu
authorEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 6 Jun 2012 16:11:13 +0000 (18:11 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 7 Jun 2012 08:57:31 +0000 (10:57 +0200)
And not the host cpu

Conflicts:

gst/gstregistry.c

gst/gstregistry.c

index 0575709..c77cffe 100644 (file)
@@ -1664,7 +1664,7 @@ ensure_current_registry (GError ** error)
   registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
   if (registry_file == NULL) {
     registry_file = g_build_filename (g_get_user_cache_dir (),
-        "gstreamer-" GST_API_VERSION, "registry." HOST_CPU ".bin", NULL);
+        "gstreamer-" GST_API_VERSION, "registry." TARGET_CPU ".bin", NULL);
   }
 
   if (!_gst_disable_registry_cache) {