summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng/util-linux-ng.inc
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-04-02 18:46:30 +0400
committerRoman I Khimov <khimov@altell.ru>2010-04-06 22:27:36 +0400
commitaa7fa11e618731ddc3db28fa56abe31a33265192 (patch)
tree8aa03ae971ebd214ab4287c85be2dde39ce4b716 /recipes/util-linux-ng/util-linux-ng.inc
parenta980755dd7d86b03e605049a894bee5fe7b43b95 (diff)
util-linux-ng: ensure that LDFLAGS are clean on native build
uclibc-based configurations fail to build util-linux-ng-native because of "-lintl". Fix LDFLAGS for native builds. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/util-linux-ng/util-linux-ng.inc')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index d08ffb5cc3..e4acd36cdb 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -8,7 +8,7 @@ inherit autotools
DEFAULT_PREFERENCE = "-1"
-INC_PR = "r19"
+INC_PR = "r20"
# allows for a release candidate
RC ?= ""
@@ -72,6 +72,7 @@ EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown \
--enable-fsck --enable-reset"
LDFLAGS_append_libc-uclibc = " -lintl"
+LDFLAGS_virtclass-native = "${BUILD_LDFLAGS}"
S = "${WORKDIR}/util-linux-ng-${PV}${RC}"