Skip to content

Commit

Permalink
build: remove macrodefs about time (musl build)
Browse files Browse the repository at this point in the history
See draios/sysdig#1684

Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr committed Sep 14, 2020
1 parent 8611af4 commit 173eeab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if(MINIMAL_BUILD)
endif()

if(MUSL_OPTIMIZED_BUILD)
set(MUSL_FLAGS "-static -Os -D__NEED_struct_timespec -D__NEED_time_t")
set(MUSL_FLAGS "-static -Os")
endif()

set(CMAKE_COMMON_FLAGS "-Wall -ggdb ${DRAIOS_FEATURE_FLAGS} ${MINIMAL_BUILD_FLAGS} ${MUSL_FLAGS}")
Expand Down
4 changes: 2 additions & 2 deletions cmake/modules/sysdig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ file(MAKE_DIRECTORY ${SYSDIG_CMAKE_WORKING_DIR})
# default below In case you want to test against another sysdig version just pass the variable - ie., `cmake
# -DSYSDIG_VERSION=dev ..`
if(NOT SYSDIG_VERSION)
set(SYSDIG_VERSION "73554b9c48b06612eb50494ee6fa5b779c57edc0") # todo(leogr): set the correct version and checksum before merging
set(SYSDIG_CHECKSUM "SHA256=c1c73498a834533dea61c979786a4ac3866743c17829d81aef209ddaa1b31538")
set(SYSDIG_VERSION "e0db61604dbe41765d3848a59f80f9dc61d6ffc2") # todo(leogr): set the correct version and checksum before merging
set(SYSDIG_CHECKSUM "SHA256=b6ffd89af2ff77270a24f900cfc40e7869183d1c7dbc289278683144228d4079")
endif()
set(PROBE_VERSION "${SYSDIG_VERSION}")

Expand Down

0 comments on commit 173eeab

Please sign in to comment.