Skip to content

Commit 44576a7

Browse files
ansteinerRealCLanger
authored andcommittedJul 27, 2023
8312466: /bin/nm usage in AIX makes needs -X64 flag
Reviewed-by: mbaesken, stuefe, jwaters
1 parent 86821a7 commit 44576a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎make/hotspot/lib/CompileJvm.gmk

+6
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
281281
#
282282
UNDEF_PATTERN := ' U '
283283

284+
# 'nm' on AIX needs -X64 option
285+
286+
ifeq ($(call isTargetOs, aix), true)
287+
NM := $(NM) -X64
288+
endif
289+
284290
define SetupOperatorNewDeleteCheck
285291
$1.op_check: $1
286292
$$(call ExecuteWithLog, $1.op_check, \

0 commit comments

Comments
 (0)
Please sign in to comment.