aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-12 22:20:11 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-12 22:20:11 +0000
commit7aba050de9d46499ed3ce1ddc010cb1850ade9eb (patch)
treeb345049ec51082e75d0c36e93aecf9f77f9f5617 /sysdeps/unix
parentbeac809a9b59c88e8ea7a7774ec0fb36d3995ea6 (diff)
downloadglibc-7aba050de9d46499ed3ce1ddc010cb1850ade9eb.zip
glibc-7aba050de9d46499ed3ce1ddc010cb1850ade9eb.tar.gz
glibc-7aba050de9d46499ed3ce1ddc010cb1850ade9eb.tar.bz2
Update.
* sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/make-syscalls.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 8a9c759..10d6992 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