diff options
author | Eugene Sandulenko | 2010-01-13 20:56:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-01-13 20:56:21 +0000 |
commit | 286d18b423509dbc57982975afa21b1056f4566c (patch) | |
tree | 4cb8be8037dbd011d623d659ccbc6d87c8af5731 | |
parent | b59eebfea80e6c218bf04e64c74a07f41d85ba7d (diff) | |
download | scummvm-rg350-286d18b423509dbc57982975afa21b1056f4566c.tar.gz scummvm-rg350-286d18b423509dbc57982975afa21b1056f4566c.tar.bz2 scummvm-rg350-286d18b423509dbc57982975afa21b1056f4566c.zip |
Fix bug #2924680: "Large file support" with patch from same bugreport. Thanks to wjp.
svn-id: r47293
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1236,7 +1236,15 @@ echo "$_have_x86" echo_n "Checking hosttype... " echo $_host_os case $_host_os in - linux* | uclinux* | openbsd* | netbsd* | bsd* | sunos* | hpux*) + linux* | uclinux*) + # When not cross-compiling, enable large file support, but don't + # care if getconf doesn't exist or doesn't recognize LFS_CFLAGS. + if test -z "$_host"; then + CXXFLAGS="$CXXFLAGS $(getconf LFS_CFLAGS 2>/dev/null)" + fi + DEFINES="$DEFINES -DUNIX" + ;; + openbsd* | netbsd* | bsd* | sunos* | hpux*) DEFINES="$DEFINES -DUNIX" ;; freebsd*) |