[OE-core] [PATCH 04/16] man: Use -DSYSV when builing for linux

Khem Raj raj.khem at gmail.com
Tue Sep 8 23:07:44 UTC 2015


We needed this define but were getting away since glibc indirectly
included fcntl.h but man sources clearly guard inclusion of fcntl.h with
SYSV, this is uncovered with musl

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-extended/man/man_1.6g.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/man/man_1.6g.bb b/meta/recipes-extended/man/man_1.6g.bb
index 6a4c734..fa4736b 100644
--- a/meta/recipes-extended/man/man_1.6g.bb
+++ b/meta/recipes-extended/man/man_1.6g.bb
@@ -58,6 +58,8 @@ SRC_URI = "http://pkgs.fedoraproject.org/lookaside/pkgs/man2html/${BP}.tar.gz/ba
 SRC_URI[md5sum] = "ba154d5796928b841c9c69f0ae376660"
 SRC_URI[sha256sum] = "ccdcb8c3f4e0080923d7e818f0e4a202db26c46415eaef361387c20995b8959f"
 
+CFLAGS += "-DSYSV"
+
 do_configure () {
         ${S}/configure -default -confdir /etc +sgid +fhs +lang all
 }
-- 
2.5.1




More information about the Openembedded-core mailing list