Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # |
| 2 | # musl specific configuration |
| 3 | # |
| 4 | |
| 5 | LIBCEXTENSION = "-musl" |
| 6 | |
| 7 | # Add uclibc overrides to the overrides. |
| 8 | LIBCOVERRIDE = ":libc-musl" |
| 9 | OVERRIDES .= "${LIBCOVERRIDE}" |
| 10 | |
| 11 | PREFERRED_PROVIDER_virtual/libc ?= "musl" |
| 12 | PREFERRED_PROVIDER_virtual/libiconv ?= "musl" |
| 13 | PREFERRED_PROVIDER_virtual/libintl ?= "musl" |
| 14 | PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc" |
| 15 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" |
| 16 | |
| 17 | #USE_NLS ?= "no" |
| 18 | |
| 19 | CXXFLAGS += "-fvisibility-inlines-hidden" |
| 20 | |
| 21 | IMAGE_LINGUAS = "" |
| 22 | |
| 23 | LIBC_DEPENDENCIES = "\ |
| 24 | musl \ |
| 25 | musl-dbg \ |
| 26 | musl-dev \ |
| 27 | " |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 28 | |
| 29 | # GLib binaries trigger assertion failures and crash under qemu |
| 30 | # when musl is in use |
| 31 | DISTRO_FEATURES_BACKFILL_CONSIDERED += "gobject-introspection-data" |