Skip to content

Commit f313d50

Browse files
committed
ui-macos/bits/runpython.do: report which platforms we're compiling for.
Just as a quick reminder, in case you're building a fat binary and you don't have all the architectures actually installed.
1 parent 15e26d2 commit f313d50

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui-macos/bits/runpython.do

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
exec >&2
22
redo-ifchange runpython.c
33
ARCHES=""
4+
printf "Platforms: "
45
for d in /usr/libexec/gcc/darwin/*; do
5-
ARCHES="$ARCHES -arch $(basename $d)"
6+
PLAT=$(basename "$d")
7+
ARCHES="$ARCHES -arch $PLAT"
8+
printf "$PLAT "
69
done
10+
printf "\n"
711
gcc $ARCHES \
812
-Wall -o $3 runpython.c \
913
-I/usr/include/python2.5 \

0 commit comments

Comments
 (0)