bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[glibc patch] sysdeps/mach/hurd/Makefile


From: Jeff Bailey
Subject: [glibc patch] sysdeps/mach/hurd/Makefile
Date: Wed, 10 Oct 2001 07:44:24 -0700
User-agent: Mutt/1.2.5i

Since 09-12, config.h.in now enforces optimization.  Without this,
errnos.d is an empty file (Failed compile.  I'm not quite sure why it
didn't stop the build...) and bits/errno.h get regenerated without all
the #defines from the various header files.

2001-10-10  Jeff Bailey  <jbailey@nisa.net>

        * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
        bits/errno.h

--- sysdeps/mach/hurd/Makefile.old      Wed Oct 10 10:32:10 2001
+++ sysdeps/mach/hurd/Makefile  Wed Oct 10 10:29:50 2001
@@ -80,7 +80,7 @@
 -include $(common-objpfx)errnos.d
 $(common-objpfx)errnos.d: $(mach-errnos-deps)
        $(mach-errno-h) | \
-       $(CC) $(CPPFLAGS) -M -x c - | \
+       $(CC) $(CFLAGS) $(CPPFLAGS) -M -x c - | \
        sed $(sed-remove-objpfx) -e 's,- *:,mach-errnos-deps :=,' \
            -e 's, \.\./, $(..),g' > $@t
        mv -f $@t $@

-- 
Abandon the search for truth; settle for a good fantasy.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]