Skip to content

Commit d99b62b

Browse files
Andreas SteinerMBaesken
Andreas Steiner
authored andcommitted
8312466: /bin/nm usage in AIX makes needs -X64 flag
Backport-of: 44576a7cca18108adafa7efe88de2a4655e9b074
1 parent 2d8be5c commit d99b62b

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
@@ -273,6 +273,12 @@ ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
273273
#
274274
UNDEF_PATTERN := ' U '
275275

276+
# 'nm' on AIX needs -X64 option
277+
278+
ifeq ($(call isTargetOs, aix), true)
279+
NM := $(NM) -X64
280+
endif
281+
276282
define SetupOperatorNewDeleteCheck
277283
$1.op_check: $1
278284
$$(call ExecuteWithLog, $1.op_check, \

0 commit comments

Comments
 (0)