diff options
Diffstat (limited to 'ports/linux/subports')
-rwxr-xr-x | ports/linux/subports | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ports/linux/subports b/ports/linux/subports index a29044a..2c43ac9 100755 --- a/ports/linux/subports +++ b/ports/linux/subports @@ -54,3 +54,13 @@ else fi rm -f dummy.c dummy.o +cat > dummy.c <<EOF +#define _GNU_SOURCE +#include <sys/stat.h> +struct statx x; +EOF +if ${CC} -c -o dummy.o dummy.c >/dev/null 2>&1; then + echo "linux/statx" +fi +rm -f dummy.c dummy.o + |