Changeset 3600 for trunk/src/kmk


Ignore:
Timestamp:
Oct 19, 2023, 4:26:27 PM (21 months ago)
Author:
bird
Message:

Some linux.arm64 adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/config.h.linux

    r3265 r3600  
    11/* config.h.  Generated from config.h.in by configure.  */
    2 /* config.h.in.  Generated from configure.in by autoheader.  */
     2/* config.h.in.  Generated from configure.ac by autoheader.  */
    33
    44/*
     
    7272/* Define to 1 if you have the declaration of `bsd_signal', and to 0 if you
    7373   don't. */
    74 /* #define HAVE_DECL_BSD_SIGNAL 1 */
     74#if !defined(KBUILD_ARCH_X86) && !defined(KBUILD_ARCH_AMD64)
     75# define HAVE_DECL_BSD_SIGNAL 1
     76#endif
    7577
    7678/* Define to 1 if you have the declaration of `dlerror', and to 0 if you
     
    349351
    350352/* Build host information. (not used by kmk) */
    351 #define MAKE_HOST "i686-pc-linux-gnu"
     353#if defined(KBUILD_ARCH_X86)
     354# define MAKE_HOST "i686-pc-linux-gnu"
     355#elif defined(KBUILD_ARCH_AMD64)
     356# define MAKE_HOST "amd64-pc-linux-gnu"
     357#else
     358# define MAKE_HOST "aarch64-unknown-linux-gnu"
     359#endif
    352360
    353361/* Define to 1 to enable job server support in GNU make. */
     
    436444/* #undef UMAX4_3 */
    437445
    438 
    439446/* Version number of package */
    440447#define VERSION "4.2.1"
     
    452459
    453460/* Number of bits in a file offset, on hosts where this is settable. */
    454 #define _FILE_OFFSET_BITS 64
     461#if defined(KBUILD_ARCH_X86) || defined(KBUILD_ARCH_AMD64)
     462# define _FILE_OFFSET_BITS 64
     463#else
     464/* #undef _FILE_OFFSET_BITS */
     465#endif
    455466
    456467/* Define for large files, on AIX-style hosts. */
Note: See TracChangeset for help on using the changeset viewer.