We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 557b2fd + c8de1f2 commit ebf6ff7Copy full SHA for ebf6ff7
cmake/modules/CompilerOptions.cmake
@@ -54,6 +54,9 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
54
# continue to check with modern compiler versions.
55
set(STDC_HEADERS 1)
56
57
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FILE_OFFSET_BITS=64")
58
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FILE_OFFSET_BITS=64")
59
+
60
# acx_strict.m4
61
if(ENABLE_STRICT)
62
enable_cxx_compiler_flag_if_supported(-Wall)
configure.ac
@@ -47,6 +47,8 @@ AC_PROG_CXX
47
PKG_PROG_PKG_CONFIG
48
49
# Compiler flags
50
+CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
51
+CXXFLAGS="${CXXFLAGS} -D_FILE_OFFSET_BITS=64"
52
ACX_PEDANTIC
53
ACX_STRICT
ACX_64BIT
0 commit comments