diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-09-12 22:20:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-09-12 22:20:11 +0000 |
commit | 7aba050de9d46499ed3ce1ddc010cb1850ade9eb (patch) | |
tree | b345049ec51082e75d0c36e93aecf9f77f9f5617 /sysdeps/unix/make-syscalls.sh | |
parent | beac809a9b59c88e8ea7a7774ec0fb36d3995ea6 (diff) | |
download | glibc-7aba050de9d46499ed3ce1ddc010cb1850ade9eb.tar.gz glibc-7aba050de9d46499ed3ce1ddc010cb1850ade9eb.tar.xz glibc-7aba050de9d46499ed3ce1ddc010cb1850ade9eb.zip |
Update.
* sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
Diffstat (limited to 'sysdeps/unix/make-syscalls.sh')
-rw-r--r-- | sysdeps/unix/make-syscalls.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh index 8a9c75956e..10d699286b 100644 --- a/sysdeps/unix/make-syscalls.sh +++ b/sysdeps/unix/make-syscalls.sh @@ -74,8 +74,9 @@ while read file srcfile caller syscall args strong weak; do callnum=- eval `{ echo "#include <sysdep.h>"; echo "callnum=SYS_ify ($syscall)"; } | - $asm_CPP - |sed -n -e "/^callnum=.*$syscall/d" \ - -e "/^\(callnum=\)[ ]*\(.*\)/s//\1'\2'/p"` + $asm_CPP -D__OPTIMIZE__ - | + sed -n -e "/^callnum=.*$syscall/d" \ + -e "/^\(callnum=\)[ ]*\(.*\)/s//\1'\2'/p"` # Derive the number of arguments from the argument signature case $args in |