diff options
author | Daniel Black <daniel.black@au.ibm.com> | 2016-07-01 17:10:46 +1000 |
---|---|---|
committer | Daniel Black <daniel.black@au.ibm.com> | 2016-07-01 17:10:46 +1000 |
commit | 37b08eff90e6af3a63a7cad43ec2c79ce75d7116 (patch) | |
tree | d9bf7dd797a76ff7da3a67977a2479ef39299896 /configure.cmake | |
parent | 3fd214c8be7c2340ebe06f4c887c67f5c928e5f0 (diff) | |
download | mariadb-git-37b08eff90e6af3a63a7cad43ec2c79ce75d7116.tar.gz |
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.
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake index 5b8bc3688c7..896226de954 100644 --- a/configure.cmake +++ b/configure.cmake @@ -1107,7 +1107,7 @@ CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_sec "time.h" STRUCT_TIMESPEC_HAS_TV CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_nsec "time.h" STRUCT_TIMESPEC_HAS_TV_NSEC) IF(NOT MSVC) - CHECK_C_SOURCE_RUNS( + CHECK_C_SOURCE_COMPILES( " #define _GNU_SOURCE #include <fcntl.h> |