Commit 952e4067 authored by Sergei Golubchik's avatar Sergei Golubchik

On linux we build with defined _GNU_SOURCE.

We must perform system tests with _GNU_SOURCE too!
parent 3794110f
......@@ -22,6 +22,7 @@ INCLUDE(CheckSymbolExists)
SET(TARGET_OS_LINUX 1)
SET(HAVE_NPTL 1)
SET(_GNU_SOURCE 1)
SET(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} -D_GNU_SOURCE=1)
# Fix CMake (< 2.8) flags. -rdynamic exports too many symbols.
FOREACH(LANG C CXX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment