8312466: /bin/nm usage in AIX makes needs -X64 flag

Reviewed-by: mbaesken, stuefe, jwaters
This commit is contained in:
Andreas Steiner 2023-07-27 10:37:40 +00:00 committed by Christoph Langer
parent 86821a7ce8
commit 44576a7cca

View File

@ -281,6 +281,12 @@ ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
# #
UNDEF_PATTERN := ' U ' UNDEF_PATTERN := ' U '
# 'nm' on AIX needs -X64 option
ifeq ($(call isTargetOs, aix), true)
NM := $(NM) -X64
endif
define SetupOperatorNewDeleteCheck define SetupOperatorNewDeleteCheck
$1.op_check: $1 $1.op_check: $1
$$(call ExecuteWithLog, $1.op_check, \ $$(call ExecuteWithLog, $1.op_check, \