From b3f8813d70c2ad67390204be1e7d6964aea58f3f Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <vital.had@gmail.com>
Date: Sun, 7 Jul 2024 19:44:17 +0800
Subject: [PATCH] Makefile: fix LP64 define

---
 hotspot/make/bsd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git hotspot/make/bsd/Makefile hotspot/make/bsd/Makefile
index 2bec290e30..ae8daffa7b 100644
--- hotspot/make/bsd/Makefile
+++ hotspot/make/bsd/Makefile
@@ -77,7 +77,7 @@ endif
 
 # we need to set up LP64 correctly to satisfy sanity checks in adlc
 ifneq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
-  MFLAGS += " LP64=1 "
+  MFLAGS += " LP64=0 "
 endif
 
 # pass USE_SUNCC further, through MFLAGS
