meson: use TARGET_x

This commit is contained in:
Sascha Kuehndel (InuSasha) 2019-08-27 17:42:53 +02:00
parent 69f0cd5b48
commit 8903d66bb6
No known key found for this signature in database
GPG Key ID: 109697069529A6DC
2 changed files with 2 additions and 2 deletions

View File

@ -15,5 +15,5 @@ PKG_MESON_OPTS_TARGET="-Denable_docs=false \
-Denable-introspection=no"
pre_configure_target() {
LDFLAGS="$LDFLAGS -lXext"
TARGET_LDFLAGS="$LDFLAGS -lXext"
}

View File

@ -93,7 +93,7 @@ PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
-Dversion-tag=${PKG_VERSION}"
pre_configure_target() {
export CFLAGS="$CFLAGS -fno-schedule-insns -fno-schedule-insns2 -Wno-format-truncation"
export TARGET_CFLAGS="$TARGET_CFLAGS -fno-schedule-insns -fno-schedule-insns2 -Wno-format-truncation"
export LC_ALL=en_US.UTF-8
}