summaryrefslogtreecommitdiffstats
path: root/patches/alsa-lib-1.2.8/0001-add-largefile-support.patch
blob: a49c29131c903447b8e5360665b7f21d491e8a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Lucas Stach <l.stach@pengutronix.de>
Date: Tue, 17 Oct 2017 12:29:22 +0200
Subject: [PATCH] add largefile support

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 3989a7434759..1ad79ed39b9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,9 @@ AM_PROG_LIBTOOL
 
 CC_NOUNDEFINED
 
+dnl enable largefile
+AC_SYS_LARGEFILE
+
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_CONFIG_HEADERS(include/config.h)
@@ -744,6 +747,8 @@ if test ! -L "$srcdir"/include/alsa ; then
   ln -sf . "$srcdir"/include/alsa
 fi
 
+CPPFLAGS='-include $(CONFIG_HEADER)'
+
 AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
 	  include/Makefile include/sound/Makefile include/sound/uapi/Makefile \
 	  src/Versions src/Makefile \