mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Fix makefile rules for vmsplice, splice, and open_by_handle_at
Commitsecade1c
,afbbc18
, anda5a34d2
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.
This commit is contained in:
parent
9aa4965cdf
commit
1d71a63153
@ -1,3 +1,12 @@
|
||||
2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2017-05-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* scripts/versions.awk: Generate ldbl-compat-choose.h.
|
||||
|
@ -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.
|
||||
|
@ -22,6 +22,9 @@ sysdep_routines += clone umount umount2 readahead \
|
||||
|
||||
CFLAGS-gethostid.c = -fexceptions
|
||||
CFLAGS-tee.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
|
||||
CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=(0x80000000-sysconf(_SC_PAGESIZE))"
|
||||
|
||||
# Note that bits/mman-linux.h is listed here though the file lives in the
|
||||
|
Loading…
Reference in New Issue
Block a user