meson: define _GNU_SOURCE to detect copy_file_range() (#7734)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Dec 2017 10:42:42 +0000 (19:42 +0900)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Dec 2017 10:42:42 +0000 (11:42 +0100)
commit0e50bfaefde2a01792f4e4bcad7e0d822c74835b
tree26209bf674ba388a287e802b370c1b2eb8ae2e8c
parentebe6ff658d2f97fe5b1b8ce390ee75e8e592938f
meson: define _GNU_SOURCE to detect copy_file_range() (#7734)

Follow-up for bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f of git
repository for glibc.

Recently glibc added `copy_file_range()`, but to use it,
`_GNU_SOURCE` needs to be defined. This adds the flag in
meson.build to detect the function by meson correctly.
meson.build