]> code.ossystems Code Review - openembedded-core.git/commitdiff
man: Use -DSYSV when builing for linux
authorKhem Raj <raj.khem@gmail.com>
Mon, 31 Aug 2015 19:41:23 +0000 (19:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 21:47:14 +0000 (22:47 +0100)
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@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/man/man_1.6g.bb

index 6a4c73405102dbd0afcf4ae800c097bc7b58cabf..fa4736b298ae30968ffe64b0a9f1a7f067ec48c7 100644 (file)
@@ -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
 }