From 1d71a6315396f6e1cc79a1d7ecca0a559929230a Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 19 May 2017 09:37:00 -0300 Subject: Fix makefile rules for vmsplice, splice, and open_by_handle_at Commits ecade1c, afbbc18, and a5a34d2 added compiler flags for vmsplice, splice, and open_by_handle_at respectively on default misc/Makefile. However such symbols are build only for Linux and the rules should on linux Makefile only. Checked on x86_64-linux-gnu. * misc/Makefile (CFLAGS-vmsplice.c): Remove rule. (CFLAGS-splice.c): Likewise. (CFLAGS-open_by_handle_at.c): Likewise. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule. (CFLAGS-splice.c): Likewise. (CFLAGS-open_by_handle_at.c): Likewise. --- misc/Makefile | 3 --- 1 file changed, 3 deletions(-) (limited to 'misc') diff --git a/misc/Makefile b/misc/Makefile index 38beb00d8e..2db1fd8397 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -111,9 +111,6 @@ CFLAGS-tst-tsearch.c = $(stack-align-test-flags) CFLAGS-msync.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-fdatasync.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-fsync.c = -fexceptions -fasynchronous-unwind-tables -CFLAGS-vmsplice.c = -fexceptions -fasynchronous-unwind-tables -CFLAGS-splice.c = -fexceptions -fasynchronous-unwind-tables -CFLAGS-open_by_handle_at.c = -fexceptions -fasynchronous-unwind-tables # Called during static library initialization, so turn stack-protection # off for non-shared builds. -- cgit v1.2.3