[PATCH] cygwin: add LFS_CFLAGS etc. to confstr/getconf
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Jan 16 09:28:00 GMT 2018
On Jan 15 21:19, Yaakov Selkowitz wrote:
> These are used, for instance, when cross-compiling the Linux kernel.
>
> Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
> ---
> newlib/libc/include/sys/unistd.h | 4 ++++
> winsup/cygwin/sysconf.cc | 6 +++++-
> winsup/utils/getconf.c | 4 ++++
> 3 files changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
> index f216fb95c..5386bd49d 100644
> --- a/newlib/libc/include/sys/unistd.h
> +++ b/newlib/libc/include/sys/unistd.h
> @@ -582,6 +582,10 @@ int unlinkat (int, const char *, int);
> #define _CS_POSIX_V7_THREADS_LDFLAGS 19
> #define _CS_V7_ENV 20
> #define _CS_V6_ENV _CS_V7_ENV
> +#define _CS_LFS_CFLAGS 21
> +#define _CS_LFS_LDFLAGS 22
> +#define _CS_LFS_LIBS 23
> +#define _CS_LFS_LINTFLAGS 24
Basically ok, but while at it, wouldn't it make sense to add the LFS64
macros too?
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20180116/e54dc01f/attachment.sig>
More information about the Cygwin-patches
mailing list