diff --git a/conf/distro/oniro-linux-blueprint-flutter.conf b/conf/distro/oniro-linux-blueprint-flutter.conf index cd68c85c6b0781785636947a55c207963f203ae9..f2b753edca0c7d6c7df8d540edddb4aa945a393b 100644 --- a/conf/distro/oniro-linux-blueprint-flutter.conf +++ b/conf/distro/oniro-linux-blueprint-flutter.conf @@ -16,3 +16,9 @@ PACKAGECONFIG:remove = "gstreamer" # TODO: Check if image is enough IMAGE_FEATURES:remove = "read-only-rootfs" ROOT_FSTYPE = "ext4" + +# Relate-to: https://github.com/flutter/flutter/issues/46016 +COMPATIBLE_HOST:libc-musl = 'null' +# Relate-to: https://github.com/flutter/flutter/issues/52102 +TCLIBC = "glibc" + diff --git a/conf/layer.conf b/conf/layer.conf index d4fd466924090245061e8810a6caec843ae09a06..26c61511c4e936288770aa2ce654278d786b1619 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -28,10 +28,6 @@ LAYERSERIES_COMPAT_meta-oniro-blueprint-flutter = "dunfell honister kirkstone" # FLUTTER_CHANNEL ?= "stable" FLUTTER_RUNTIME ?= "release" -# TODO: move to flutter -# Relate-to: https://github.com/flutter/flutter/issues/52102 -TCLIBC = "glibc" - PACKAGECONFIG:pn-flutter-engine-release = "disable-desktop-embeddings embedder-for-target fontconfig release" PACKAGECONFIG:pn-flutter-engine-debug = "disable-desktop-embeddings embedder-for-target fontconfig debug" PACKAGECONFIG:pn-flutter-engine-profile = "disable-desktop-embeddings embedder-for-target fontconfig profile"