File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ LD = $(PLATFORM_PREFIX)-ld
1818AR = $(PLATFORM_PREFIX ) -ar
1919endif
2020# run c preprocessor with any cflags to get cross compilation result, then run regular compile in native
21- ABI := $(shell . /abiname.sh "$(CC ) " "$(CFLAGS ) ")
21+ ABI := $(shell tools /abiname.sh "$(CC ) " "$(CFLAGS ) ")
2222ifndef ABI
2323$(error Could not determine platform)
2424endif
4646clean :
4747 rm -f stackman/* .o tests/* .o
4848 rm -f bin/*
49- rm -rf tmp
49+ rm -rf tmp tools/tmp
5050
5151DEBUG = # -DDEBUG_DUMP
5252
File renamed without changes.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ tmp=$(mktemp "${here}/tmp/abinameXXX.c")
1616# 1 create the preprocessed file
1717CC=${1:- cc}
1818CFLAGS=${2:- }
19- ${CC} ${CFLAGS} -E -o " ${tmp} " " ${here} /stackman /abiname.c"
19+ ${CC} ${CFLAGS} -I ${here} /../stackman - E -o " ${tmp} " " ${here} /abiname.c"
2020# 2 compile resulting file
2121cc -o " ${tmp} .out" " ${tmp} "
2222# 3 run it
You can’t perform that action at this time.
0 commit comments