diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2023-03-06 15:53:55 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-03-27 13:57:55 -0300 |
commit | f65ca70deaf38db4ca12458e74cefd8ad9063956 (patch) | |
tree | f170b2f04d3912e20be14a57a56fd1eead03d579 /Rules | |
parent | 88677348b4de73874ca7d5a47451f42880f65f07 (diff) | |
download | glibc-f65ca70deaf38db4ca12458e74cefd8ad9063956.tar.gz glibc-f65ca70deaf38db4ca12458e74cefd8ad9063956.tar.xz glibc-f65ca70deaf38db4ca12458e74cefd8ad9063956.zip |
libio: Do not autogenerate stdio_lim.h
Instead define the required fields in system dependend files. The only system dependent definition is FILENAME_MAX, which should match POSIX PATH_MAX, and it is obtained from either kernel UAPI or mach headers. Currently set pre-defined value from current kernels. It avoids a circular dependendy when including stdio.h in gen-as-const-headers files. Checked on x86_64-linux-gnu and i686-linux-gnu Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Rules b/Rules index fdff415fdc..5e945d7347 100644 --- a/Rules +++ b/Rules @@ -60,9 +60,6 @@ ifneq "$(findstring env,$(origin common-generated))" "" common-generated := endif -# See below. This must be set before Makerules processes it. -before-compile += $(common-objpfx)bits/stdio_lim.h - include $(..)Makerules .PHONY: subdir_lib |