File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,15 +67,15 @@ tmp=$(mktemp "${here}/tmp/abinameXXX.c")
6767CC=${1:- cc}
6868CFLAGS=${2:- }
6969ABI_OVERRIDE=${3:- ${STACKMAN_ABI:- } }
70- target_triple=$( detect_target_triple)
7170if [ -n " ${ABI_OVERRIDE} " ]; then
7271 abi=$( canonicalize_abi " ${ABI_OVERRIDE} " )
7372 if [ -n " ${STACKMAN_ABI_DEBUG:- } " ] || [ -n " ${STACKMAN_ABI_TRACE:- } " ]; then
74- printf ' %s\n' " stackman abiname: cc=${CC} target=${target_triple :- unknown} abi=${abi} source=override" >&2
73+ printf ' %s\n' " stackman abiname: cc=${CC} target=override-skip abi=${abi} source=override" >&2
7574 fi
7675 printf ' %s\n' " ${abi} "
7776 exit 0
7877fi
78+ target_triple=$( detect_target_triple)
7979${CC} ${CFLAGS} -I${here} /../stackman -E -o " ${tmp} " " ${here} /abiname.c"
8080# 2 compile resulting file
8181cc -o " ${tmp} .out" " ${tmp} "
You can’t perform that action at this time.
0 commit comments