File: 11_lfs_cflags.patch

package info (click to toggle)
sysvinit 2.88dsf-59
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,300 kB
  • ctags: 1,736
  • sloc: ansic: 7,096; sh: 3,883; perl: 371; makefile: 315
file content (17 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (3)
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.