aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-10-19 00:45:33 +0000
committerRoland McGrath <roland@gnu.org>1998-10-19 00:45:33 +0000
commit7d25696a35c32b242425aa0e77d1b4d938d1262e (patch)
tree4c2c785ca45bfb4c5db226da603efc76bcd65744 /sysdeps/mach
parent3f804c953da3ed97d8f50a258e6ac9ce671ede31 (diff)
downloadglibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.tar
glibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.tar.gz
glibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.tar.bz2
glibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.zip
1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add _HURD_THREADVAR_DL_ERROR. * hurd/Makefile (user-interfaces): Add login, password. * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index 42e9a79e7b..f87f530d52 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -25,6 +25,10 @@ subdirs := $(filter-out sunrpc,$(subdirs)) # XXX skip broken dirs
# Look for generated header files where they get created.
includes += -I$(..)hurd -I$(common-objpfx)hurd/
+# We use the style `if (err = call(...))' a lot in the Hurd code,
+# where we have a lot of functions that return zero or an errno code.
++cflags += -Wno-parentheses
+
# Do not use any assembly code from sysdeps/unix (and subdirectories).
# This bypasses all the system call stubs and uses any existing posix or
# generic C files instead.