Skip to content

Commit

Permalink
devel/dmlc-core: Add patch for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Dec 20, 2023
1 parent 97dcba7 commit 8491d33
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions devel/dmlc-core/files/patch-test_unittest_CMakeLists.txt
@@ -0,0 +1,13 @@
- add -lexecinfo because LDFLAGS passed from outside somehow gets lost

--- test/unittest/CMakeLists.txt.orig 2023-09-15 04:25:30 UTC
+++ test/unittest/CMakeLists.txt
@@ -9,6 +9,8 @@ if (UNIX)
SET(CMAKE_EXE_LINKER_FLAGS "-pthread")
endif(UNIX)

+SET(CMAKE_EXE_LINKER_FLAGS "-lexecinfo")
+
# Compiler definitions needed to use GNU/POSIX extensions
set(ENABLE_GNU_EXTENSION_FLAGS -D_XOPEN_SOURCE=700
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_DARWIN_C_SOURCE)

0 comments on commit 8491d33

Please sign in to comment.