From b25d77f05c3c1858ed3cfa0155d295dc81102f70 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Thu, 6 Aug 2009 04:55:46 +0000 Subject: [PATCH] Fix 32-bit builds. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 605ff63..5f3808c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,8 +98,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/build LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/src/stasis) SET(COMMON_LIBRARIES stasis m pthread) -SET(CMAKE_C_FLAGS "-g -Wall -pedantic -std=gnu99 -DPBL_COMPAT ${CMAKE_C_FLAGS}") -SET(CMAKE_CXX_FLAGS "-g -Wall -Wno-variadic-macros -Wno-long-long -pedantic -DPBL_COMPAT ${CMAKE_CXX_FLAGS}") +SET(CMAKE_C_FLAGS "-g -Wall -pedantic -std=gnu99 -DPBL_COMPAT -D_FILE_OFFSET_BITS=64 ${CMAKE_C_FLAGS}") +SET(CMAKE_CXX_FLAGS "-g -Wall -Wno-variadic-macros -Wno-long-long -pedantic -DPBL_COMPAT -D_FILE_OFFSET_BITS=64 ${CMAKE_CXX_FLAGS}") INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/stasis DESTINATION include/