diff options
author | Roland McGrath <roland@gnu.org> | 2001-12-02 19:34:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-12-02 19:34:28 +0000 |
commit | ce944fef4ef26a9fd4cf6d95917b27161b32e628 (patch) | |
tree | b6e609f44f60165c3c16c86d09ab333c97a234ff /mach/Makefile | |
parent | c21b1e2f8f96b666aeb7ada4ae642c2fef0a602e (diff) | |
download | glibc-ce944fef4ef26a9fd4cf6d95917b27161b32e628.tar glibc-ce944fef4ef26a9fd4cf6d95917b27161b32e628.tar.gz glibc-ce944fef4ef26a9fd4cf6d95917b27161b32e628.tar.bz2 glibc-ce944fef4ef26a9fd4cf6d95917b27161b32e628.zip |
* mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
* mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
Reported by Jeff Bailey <jbailey@nisa.net>.
Diffstat (limited to 'mach/Makefile')
-rw-r--r-- | mach/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mach/Makefile b/mach/Makefile index 7e32034bc4..444c2ed144 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -72,7 +72,8 @@ $(objpfx)mach-syscalls.mk: syscalls.awk Makefile $(make-target-directory) echo '#include <mach/syscall_sw.h>' | \ DEPENDENCIES_OUTPUT='$@-dep $@' \ - $(CC) $(CPPFLAGS) -E -x c-header - \ +# We must use $(CFLAGS) to get -O flags that affect #if's in header files. + $(CC) $(CFLAGS) $(CPPFLAGS) -E -x c-header - \ -D_MACH_`echo $(base-machine) | tr a-z A-Z`_SYSCALL_SW_H_=1 | \ sed -n -e 's/^kernel_trap(\(.*\),\([-0-9]*\),\([0-9]*\))$$/\1 \2 \3/p'\ | $(AWK) -f $< > $@-new |