diff options
| author | Jakub Hrozek <jakub.hrozek@gmail.com> | 2014-08-13 09:44:30 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2014-08-15 10:53:51 +0200 |
| commit | bc546d05a93794b1f0f1ef02e96f918533c250c3 (patch) | |
| tree | e9a75dbca1fae4bf032b06a1a77247fdd4897ade /tests | |
| parent | baa8b438f76e66531b26a90c02ab11d4e6c09944 (diff) | |
| download | socket_wrapper-bc546d05a93794b1f0f1ef02e96f918533c250c3.tar.gz socket_wrapper-bc546d05a93794b1f0f1ef02e96f918533c250c3.tar.xz socket_wrapper-bc546d05a93794b1f0f1ef02e96f918533c250c3.zip | |
Define _GNU_SOURCE on one place only.
There were several _GNU_SOURCE definitions scaterred in the build
system. This patch always adds -D_GNU_SOURCE to the CFLAGS if building
on a UNIX platform.
Signed-off-by: Jakub Hrozek <jakub.hrozek@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d3a4156..17b1212 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -6,7 +6,6 @@ include_directories( ${CMOCKA_INCLUDE_DIR} ) -add_definitions(-D_GNU_SOURCE) set(TORTURE_LIBRARY torture) # RFC862 echo server |
