qt: fix webkit/sqlite build without largefile support
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 27 Jun 2011 09:56:11 +0000 (11:56 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 27 Jun 2011 09:56:11 +0000 (11:56 +0200)
commit7e4d47593850851d6fcaa6068258c16cc8761ab5
treebf3154935b9877bd5117041ccd054fbd1e0454f0
parent36f8b40d22ce68155744124d75489dc15b5ff34c
qt: fix webkit/sqlite build without largefile support

The embedded sqlite module forces FILE_OFFSET_BITS=64 unless
SQLITE_DISABLE_LFS is defined, breaking the build for !largefile toolchains.
Webkit internally builds sqlite, so that's affected as well.

Fix it by passing -DSQLITE_DISABLE_LFS in C/CXXFLAGS for !largefile
builds, similar to how we do it for the standalone sqlite package.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/qt.mk