diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-02-12 13:57:32 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-02-12 13:57:32 -0800 |
commit | 96a157490c8db4c3be4495c4f9c0ca9ecaf5ae7c (patch) | |
tree | eb87e00fb53763b95b6f2d89f2b50c285df88183 /sysdeps/unix | |
parent | 04f5a636b6ac79677967d901a956f336a7ccfee3 (diff) | |
download | glibc-96a157490c8db4c3be4495c4f9c0ca9ecaf5ae7c.tar.gz |
Use -Werror=undef for assembly code.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/make-syscalls.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh index 567081a624..e3596b6ce3 100644 --- a/sysdeps/unix/make-syscalls.sh +++ b/sysdeps/unix/make-syscalls.sh @@ -250,14 +250,10 @@ while read file srcfile caller syscall args strong weak; do \$(make-target-directory) (echo '#define SYSCALL_NAME $syscall'; \\ echo '#define SYSCALL_NARGS $nargs'; \\ - echo '#define SYSCALL_SYMBOL $strong'; \\" - [ $cancellable = 0 ] || echo "\ - echo '#define SYSCALL_CANCELLABLE 1'; \\" - [ $noerrno = 0 ] || echo "\ - echo '#define SYSCALL_NOERRNO 1'; \\" - [ $errval = 0 ] || echo "\ - echo '#define SYSCALL_ERRVAL 1'; \\" - echo "\ + echo '#define SYSCALL_SYMBOL $strong'; \\ + echo '#define SYSCALL_CANCELLABLE $cancellable'; \\ + echo '#define SYSCALL_NOERRNO $noerrno'; \\ + echo '#define SYSCALL_ERRVAL $errval'; \\ echo '#include <syscall-template.S>'; \\" ;; esac |