Commit a4ef4a7e83f28ae336eacb6c84191e4fad080f6d

Authored by Myriam Bouchemit
1 parent d5eba27d
Exists in master and in 1 other branch ubuntu

add -D_POSIX_SOURCE

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
CMakeLists.txt
... ... @@ -10,7 +10,7 @@ if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
10 10 #64 bits
11 11 MESSAGE( STATUS "64 bits" )
12 12 set(CMAKE_C_FLAGS_DEBUG "-ggdb -DLINUX -Dlinux -m64 -march=core2 -fPIC -D_REENTRANT -pthread")
13   - set(CMAKE_C_FLAGS_RELEASE "-DLINUX -Dlinux -m64 -march=core2 -fPIC -D_REENTRANT -pthread")
  13 + set(CMAKE_C_FLAGS_RELEASE "-DLINUX -D_POSIX_SOURCE -Dlinux -m64 -march=core2 -fPIC -D_REENTRANT -pthread")
14 14 set(CMAKE_CXX_FLAGS_DEBUG "-std=c++0x -fPIC -Wall -Wextra -ggdb -DLINUX -Dlinux -D_REENTRANT -malign-double -pthread")
15 15 set(CMAKE_CXX_FLAGS_RELEASE "-std=c++0x -Wall -Wextra -fPIC -DLINUX -Dlinux -D_REENTRANT -malign-double -pthread -O3 -DNDEBUG")
16 16 set(USRLIB_DIR "/usr/lib64/:/usr/local/lib64/")
... ...