summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/tclibc-musl.inc
blob: e6b10f946938558e0b460dcfeb0dc8a19d47c77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# musl specific configuration
#

LIBCEXTENSION = "-musl"

# Add uclibc overrides to the overrides.
LIBCOVERRIDE = ":libc-musl"
OVERRIDES .= "${LIBCOVERRIDE}"

PREFERRED_PROVIDER_virtual/libc ?= "musl"
PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
PREFERRED_PROVIDER_virtual/libintl ?= "musl"
PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"

#USE_NLS ?= "no"

CXXFLAGS += "-fvisibility-inlines-hidden"

IMAGE_LINGUAS = ""

LIBC_DEPENDENCIES = "\
    musl \
    musl-dbg \
    musl-dev \
    "

# GLib binaries trigger assertion failures and crash under qemu
# when musl is in use
DISTRO_FEATURES_BACKFILL_CONSIDERED += "gobject-introspection-data"