After upgrading few days ago cmake starts to generate strange C and c++ flags. For example, when I tried to build guayadeque from AUR, I got the following:
c++: _FILE_OFFSET_BITS=64: No such file or directory
c++: _LARGE_FILES: No such file or directory
c++: __WXGTK__: No such file or directory
I found, that the problem was in ... guayadeque/src/guayadeque-0.2.0/src/CMakeFiles/guayadeque.dir/flags.make, where C_FLAGS at the end of string and C_DEFINES have the same entry: -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ . The same is with CXX_FLAGS and CXX_DEFINES. I simply deleted "-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__" from the ends of C_FLAGS and CXX_FLAGS strings and after that compilation went smoothly.
Can somebody check this and say whether is this a bug of cmake or guayadeque code?
I have the same error when compiling aur/plplot with wxgtk support...
I've the same problem, but haven't cmake-2.6.4 in cache..where can I find the pkg?