diff options
Diffstat (limited to 'sysdeps/mach/hurd/Makefile')
-rw-r--r-- | sysdeps/mach/hurd/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 13bdf5c7c9..5171425650 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -98,6 +98,16 @@ $(common-objpfx)stamp-errnos: $(hurd)/errnos.awk $(errno.texinfo) \ touch $@ common-generated += errnos.d stamp-errnos + +# Augmentations to the errno pretty-printer. +ifeq ($(subdir),stdlib) +define sysd-add-errno-constants +$(AWK) -f $(hurd)/hurd-add-errno-constants.awk $(mach-errnos-deps) +endef +$(objpfx)errno_constants.pysym: \ + $(hurd)/hurd-add-errno-constants.awk $(mach-errnos-deps) +endif + # We install the real libc.a as libcrt.a and as libc.a we install a linker # script which does -( -lcrt -lmachuser -lhurduser -). |