jam: Fill in missing OSPLAT architectures
* These are horrible, but at least consistent and won't break existing
jam definitions.
* Haiku's jam goes through and adjusts x86 to x86_64, etc.. so do the
same for other 32 vs 64-bit architectures.
Change-Id: I8b0eee20dd35e7458ef31949cd3fa621265c2f51
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/8719
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: X512 X512 <danger_mail@list.ru>
Reviewed-by: Alexander von Gluck <alex@terarocket.io>
Diff
jam/jam.h | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
@@ -429,7 +429,8 @@
# endif
# endif
# ifdef __sparc__
# if defined( __sparc__ ) || \\
# defined( __sparc64__)
# if !defined( OS_SUNOS )
# define OSPLAT "OSPLAT=SPARC"
# endif
@@ -441,7 +442,8 @@
# endif
# endif
# ifdef __arm__
# if defined( __arm__ ) || \
defined(__aarch64__)
# define OSPLAT "OSPLAT=ARM"
# endif
@@ -453,6 +455,10 @@
# ifdef __s390__
# define OSPLAT "OSPLAT=390"
# endif
# ifdef __riscv
# define OSPLAT "OSPLAT=RISCV"
# endif
# ifndef OSPLAT