From 48d966eb359b559f292b7f6896eff7746e5af390 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 19 May 2017 10:33:58 -0300 Subject: linux: Consolidate sync_file_range implementation This patch consolidates Linux sync_file_range at default sysdeps/unix/sysv/linux/sync_file_range.c implementation. It also moves the rules flags from generic io/Makefile to Linux one due the fact it is a Linux-only symbol. Checked on i686-linux-gnu and x86_64-linux-gnu. * io/Makefile (CFLAGS-sync_file_range.c): Remove rule. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New rule. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove sync_file_range. --- io/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'io') diff --git a/io/Makefile b/io/Makefile index 16365e5..2f26bf5 100644 --- a/io/Makefile +++ b/io/Makefile @@ -99,7 +99,6 @@ CFLAGS-posix_fallocate.c = -fexceptions CFLAGS-posix_fallocate64.c = -fexceptions CFLAGS-fallocate.c = -fexceptions CFLAGS-fallocate64.c = -fexceptions -CFLAGS-sync_file_range.c = -fexceptions CFLAGS-read.c = -fexceptions CFLAGS-write.c = -fexceptions -- cgit v1.1