summaryrefslogtreecommitdiff
path: root/recipes/man/man_1.5p.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/man/man_1.5p.bb')
-rw-r--r--recipes/man/man_1.5p.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/man/man_1.5p.bb b/recipes/man/man_1.5p.bb
index 2a1ed7fd72..c3412a5806 100644
--- a/recipes/man/man_1.5p.bb
+++ b/recipes/man/man_1.5p.bb
@@ -14,13 +14,14 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/man/man-${PV}.tar.bz2 \
# Disable parallel make or it tries to link objects before they are built
PARALLEL_MAKE = ""
-EXTRA_OEMAKE = ""
+EXTRA_OEMAKE = 'LFDLAGS="${LDFLAGS}"'
GS = "-DGREPSILENT=\"q\""
DEFS = "-DUSG -DDO_COMPRESS ${GS}"
do_configure() {
# this doesn't support cross compilation, so it generates a
# bogus configuration
+ sed -i /^LDFLAGS/d src/Makefile.in
./configure -d -confdir ${sysconfdir}
}