mirror of
https://git.yoctoproject.org/poky
synced 2026-03-05 06:49:39 +01:00
enable largefile support if its in DISTRO_FEATURES (From OE-Core rev: 300defd71205bf350a6e956451e0cc87c4e92902) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
860 B
Diff
20 lines
860 B
Diff
defer setting largefile flags to build makery
|
|
in a cross build we can not do runtime config tests
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Upstream-Status: Inappropriate[Cross compile Specific]
|
|
Index: dosfstools-3.0.28/Makefile
|
|
===================================================================
|
|
--- dosfstools-3.0.28.orig/Makefile
|
|
+++ dosfstools-3.0.28/Makefile
|
|
@@ -27,8 +27,7 @@ SBINDIR = $(PREFIX)/sbin
|
|
DOCDIR = $(PREFIX)/share/doc
|
|
MANDIR = $(PREFIX)/share/man
|
|
|
|
-#OPTFLAGS = -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
|
|
-OPTFLAGS = -O2 -fomit-frame-pointer -D_GNU_SOURCE $(shell getconf LFS_CFLAGS)
|
|
+OPTFLAGS = -O2 -fomit-frame-pointer
|
|
#WARNFLAGS = -Wall -pedantic -std=c99
|
|
WARNFLAGS = -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings
|
|
DEBUGFLAGS = -g
|