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.
This commit is contained in:
Avery Pennarun 2011-05-07 23:15:43 -04:00
parent 15e26d2e0e
commit f313d50690

View File

@ -1,9 +1,13 @@
exec >&2
redo-ifchange runpython.c
ARCHES=""
printf "Platforms: "
for d in /usr/libexec/gcc/darwin/*; do
ARCHES="$ARCHES -arch $(basename $d)"
PLAT=$(basename "$d")
ARCHES="$ARCHES -arch $PLAT"
printf "$PLAT "
done
printf "\n"
gcc $ARCHES \
-Wall -o $3 runpython.c \
-I/usr/include/python2.5 \