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>
This commit is contained in:
Alexander von Gluck
2024-12-27 07:42:18 -06:00
parent d86b03dc2b
commit 400880c468

View File

@@ -429,7 +429,8 @@
# endif # endif
# endif # endif
# ifdef __sparc__ # if defined( __sparc__ ) || \\
# defined( __sparc64__)
# if !defined( OS_SUNOS ) # if !defined( OS_SUNOS )
# define OSPLAT "OSPLAT=SPARC" # define OSPLAT "OSPLAT=SPARC"
# endif # endif
@@ -441,7 +442,8 @@
# endif # endif
# endif # endif
# ifdef __arm__ # if defined( __arm__ ) || \
defined(__aarch64__)
# define OSPLAT "OSPLAT=ARM" # define OSPLAT "OSPLAT=ARM"
# endif # endif
@@ -455,6 +457,10 @@
# define OSPLAT "OSPLAT=390" # define OSPLAT "OSPLAT=390"
# endif # endif
# ifdef __riscv
# define OSPLAT "OSPLAT=RISCV"
# endif
# ifndef OSPLAT # ifndef OSPLAT
# define OSPLAT "" # define OSPLAT ""
# endif # endif