Skip to content

Commit 37b08ef

Browse files
committed
Cross Compile HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE change to compile check
HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE only needed a compile check rather than a RUN check so after changing to a compile check there is one less variable to manually set while cross compiling.
1 parent 3fd214c commit 37b08ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_sec "time.h" STRUCT_TIMESPEC_HAS_TV
11071107
CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_nsec "time.h" STRUCT_TIMESPEC_HAS_TV_NSEC)
11081108

11091109
IF(NOT MSVC)
1110-
CHECK_C_SOURCE_RUNS(
1110+
CHECK_C_SOURCE_COMPILES(
11111111
"
11121112
#define _GNU_SOURCE
11131113
#include <fcntl.h>

0 commit comments

Comments
 (0)