mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-17 22:05:18 -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
|
ln -sf . "$srcdir"/include/alsa
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl enable large file support
|
||||||
|
CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
|
||||||
|
|
||||||
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
|
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
|
||||||
include/Makefile include/sound/Makefile include/sound/uapi/Makefile \
|
include/Makefile include/sound/Makefile include/sound/uapi/Makefile \
|
||||||
src/Versions src/Makefile \
|
src/Versions src/Makefile \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue