Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

large file problems on 32-bit linux #4

Open
throwaway-zz opened this issue Nov 3, 2010 · 1 comment
Open

large file problems on 32-bit linux #4

throwaway-zz opened this issue Nov 3, 2010 · 1 comment

Comments

@throwaway-zz
Copy link

Large file problems again, this time on 32-bit Linux instead of 64-bit. Again, the solution is pretty simple:

CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"

I tried putting these defines in common.h, but of course it doesn't get included in the right order for that to work. So I set CFLAGS before calling cmake. Presumably the right way to do this would be to put it in CMakeLists.txt, but I don't know cmake very well.

@coryLeahcordero811
Copy link

#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants