Package: sysvinit / 2.88dsf-59.9

11_lfs_cflags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Purpose: Enable large file support
Author:  Roger Leigh
Fixes:   Needed on GNU/Hurd
Status:  Not submitted upstream

diff --git a/src/Makefile b/src/Makefile
index e2b8028..ccc5ab4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -11,6 +11,7 @@
 CPPFLAGS =
 CFLAGS	?= -ansi -O2 -fomit-frame-pointer
 override CFLAGS += -W -Wall -D_GNU_SOURCE
+override CFLAGS += $(shell getconf LFS_CFLAGS)
 STATIC	=
 
 # For some known distributions we do not build all programs, otherwise we do.