diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/meson.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index ed08a4058c..7e63e12588 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass | |||
@@ -109,6 +109,9 @@ EOF | |||
109 | CONFIGURE_FILES = "meson.build" | 109 | CONFIGURE_FILES = "meson.build" |
110 | 110 | ||
111 | meson_do_configure() { | 111 | meson_do_configure() { |
112 | # Work around "Meson fails if /tmp is mounted with noexec #2972" | ||
113 | mkdir -p "${B}/meson-private/tmp" | ||
114 | export TMPDIR="${B}/meson-private/tmp" | ||
112 | bbnote Executing meson ${EXTRA_OEMESON}... | 115 | bbnote Executing meson ${EXTRA_OEMESON}... |
113 | if ! meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" ${MESON_CROSS_FILE} ${EXTRA_OEMESON}; then | 116 | if ! meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" ${MESON_CROSS_FILE} ${EXTRA_OEMESON}; then |
114 | bbfatal_log meson failed | 117 | bbfatal_log meson failed |