libupnp: Build samples with LFS on

Fixes errors ( qemuarm/thumb )
../../../git/upnp/inc/FileInfo.h:22:2: error: #error libupnp uses large file support, so users must do that, too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2019-02-11 09:28:41 -08:00
parent c88af81ef8
commit c0a71bc263

View File

@ -19,3 +19,7 @@ S="${WORKDIR}/git"
inherit autotools
EXTRA_OECONF += "--enable-reuseaddr"
# Enable LFS support ( for samples )
CFLAGS += "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
CXXFLAGS += "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"