From b83f9b39401caf09c46d66487c3c2174e0742598 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 16 Nov 2013 22:18:40 +0100 Subject: [PATCH] HAIKU_DEFINES: Add __HAIKU_PRIMARY_PACKAGING_ARCH * It is set to the primary architecture we're building for. * Remove __HAIKU__. The macro is already defined by the compiler. --- build/jam/BuildSetup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index ed496222ce..858fb0708e 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -125,7 +125,9 @@ if $(HAIKU_PACKAGING_ARCH) { KernelArchitectureSetup $(HAIKU_PACKAGING_ARCH) ; } -HAIKU_DEFINES = __HAIKU__ ; +# define primary packaging architecture macro +HAIKU_DEFINES = __HAIKU_PRIMARY_PACKAGING_ARCH=\\\"$(HAIKU_PACKAGING_ARCH)\\\" ; + HAIKU_LIBSUPC++ = $(HAIKU_LIBSUPC++_$(HAIKU_PACKAGING_ARCH)) ; HAIKU_LIBSTDC++ = $(HAIKU_LIBSTDC++_$(HAIKU_PACKAGING_ARCH)) ;