summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvery Pennarun <apenwarr@gmail.com>2011-05-07 23:15:43 -0400
committerAvery Pennarun <apenwarr@gmail.com>2011-05-07 23:16:42 -0400
commitf313d50690b98fbf22a9d06655f7c799ab5e718d (patch)
tree9197984e33fa936bed19ee0cd106ad981d60e13d
parent15e26d2e0ed7735c0bbdda7896bfe17f4fc36332 (diff)
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.
-rw-r--r--ui-macos/bits/runpython.do6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui-macos/bits/runpython.do b/ui-macos/bits/runpython.do
index ced2b65..e8082c5 100644
--- a/ui-macos/bits/runpython.do
+++ b/ui-macos/bits/runpython.do
@@ -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 \