From 607bd4ed849d2ad22d5f36ecbdf1fcaf93af519f Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Tue, 19 Sep 2023 14:13:40 +0000 Subject: [PATCH] 8316294: AIX: Build fopen system call fails on file _BUILD_LIBJDWP_objectfilenames.txt Reviewed-by: clanger, erikj --- make/common/NativeCompilation.gmk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk index 9b847fe35f0..6056f4632a5 100644 --- a/make/common/NativeCompilation.gmk +++ b/make/common/NativeCompilation.gmk @@ -1165,9 +1165,9 @@ define SetupNativeCompilationBody $1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)` endif - # If we are building static library, 'AR' on macosx may not support @-file. + # If we are building static library, 'AR' on macosx/aix may not support @-file. ifeq ($$($1_TYPE), STATIC_LIBRARY) - ifeq ($(call isTargetOs, macosx), true) + ifeq ($(call isTargetOs, macosx aix), true) $1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)` endif endif