Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | defer setting largefile flags to build makery |
| 2 | in a cross build we can not do runtime config tests |
| 3 | |
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 5 | Upstream-Status: Inappropriate[Cross compile Specific] |
| 6 | Index: dosfstools-3.0.28/Makefile |
| 7 | =================================================================== |
| 8 | --- dosfstools-3.0.28.orig/Makefile |
| 9 | +++ dosfstools-3.0.28/Makefile |
| 10 | @@ -27,8 +27,7 @@ SBINDIR = $(PREFIX)/sbin |
| 11 | DOCDIR = $(PREFIX)/share/doc |
| 12 | MANDIR = $(PREFIX)/share/man |
| 13 | |
| 14 | -#OPTFLAGS = -O2 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| 15 | -OPTFLAGS = -O2 -fomit-frame-pointer -D_GNU_SOURCE $(shell getconf LFS_CFLAGS) |
| 16 | +OPTFLAGS = -O2 -fomit-frame-pointer |
| 17 | #WARNFLAGS = -Wall -pedantic -std=c99 |
| 18 | WARNFLAGS = -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings |
| 19 | DEBUGFLAGS = -g |