From 67dde31eff9b2fe8a7da9389bd53a64ac6c723c5 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sun, 7 Jul 2024 19:00:46 +0800 Subject: [PATCH] CoreLibraries.gmk: do not hardcode arch --- jdk/make/lib/CoreLibraries.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git jdk/make/lib/CoreLibraries.gmk jdk/make/lib/CoreLibraries.gmk index bb915869d6..34d61140b5 100644 --- jdk/make/lib/CoreLibraries.gmk +++ jdk/make/lib/CoreLibraries.gmk @@ -77,7 +77,7 @@ else LANG := C, \ CFLAGS := $(CFLAGS_JDKLIB) \ -I$(JDK_TOPDIR)/src/share/native/java/lang/fdlibm/include, \ - LDFLAGS := -nostdlib -r -arch x86_64, \ + LDFLAGS := -nostdlib -r, \ OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/libfdlibm, \ DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))