mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
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:
@@ -19,3 +19,7 @@ S="${WORKDIR}/git"
|
|||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
EXTRA_OECONF += "--enable-reuseaddr"
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user