summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-07-26 05:59:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-07-26 05:59:04 +0000
commit0d08e8ebf50805e543626b4e87157578fbad5d2b (patch)
tree714d4b9ee031dc9e2d5ca67915299a928666c729 /CMakeLists.txt
parent44f3e9df0cdcbc4875abcd37c5783278c55fece4 (diff)
Notes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2054e4fb3214f..0828ba6a342eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ set(CXXRT_SOURCES
libelftc_dem_gnu3.c
)
-
+add_definitions(-D_GNU_SOURCE)
add_library(cxxrt-static STATIC ${CXXRT_SOURCES})
add_library(cxxrt-shared SHARED ${CXXRT_SOURCES})
target_link_libraries(cxxrt-shared ${CMAKE_DL_LIBS})