Skip to content

Commit 758d3f0

Browse files
author
elsa
committed
fix: we dont actually need those flags
1 parent fe28761 commit 758d3f0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

cmake/deps/customlabels.cmake

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
11
include(FetchContent)
22

3-
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
4-
set(TLS_DIALECT desc)
5-
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
6-
set(TLS_DIALECT gnu2)
7-
else()
8-
message(FATAL_ERROR "Only aarch64 and x86-64 are supported (found: ${CMAKE_SYSTEM_PROCESSOR})")
9-
endif()
10-
113
FetchContent_Declare(customlabels
124
GIT_REPOSITORY https://github.com/DataDog/custom-labels.git
135
GIT_TAG elsa/add-process-storage
146
)
157

168
FetchContent_MakeAvailable(customlabels)
179

18-
add_compile_options(
19-
-fPIC
20-
-ftls-model=global-dynamic
21-
-mtls-dialect=${TLS_DIALECT}
22-
)
23-
2410
add_library(customlabels SHARED
2511
${customlabels_SOURCE_DIR}/src/customlabels.c
2612
)

0 commit comments

Comments
 (0)