mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-05 04:06:34 -05:00
configure: Add large file support via CFLAGS
Currently scanelf (pax-utils) detects missing LFS support in the following files/calls: fopen,__open_2,mmap,lseek,open /usr/lib/libasound.so.2.0.0 fopen,open /usr/lib/libatopology.so.2.0.0 Note that this may cause problems on systems with a 32-bit kernel, but I've tested playing audio on a more recent 32-bit system with a 64-bit kernel.
This commit is contained in:
parent
b7389e2e2e
commit
8fb53ec7d9
1 changed files with 3 additions and 0 deletions
|
|
@ -743,6 +743,9 @@ if test ! -L "$srcdir"/include/alsa ; then
|
|||
ln -sf . "$srcdir"/include/alsa
|
||||
fi
|
||||
|
||||
dnl enable large file support
|
||||
CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
|
||||
|
||||
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
|
||||
include/Makefile include/sound/Makefile include/sound/uapi/Makefile \
|
||||
src/Versions src/Makefile \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue