Skip to content
Snippets Groups Projects
Commit 1e8b06be authored by Raymond Toy's avatar Raymond Toy
Browse files

Support ppc.

parent 90b155a2
No related branches found
No related tags found
No related merge requests found
...@@ -60,8 +60,11 @@ done ...@@ -60,8 +60,11 @@ done
# If -b not given, try to derive one instead of just using "build". # If -b not given, try to derive one instead of just using "build".
if [ -z "$BASE" ]; then if [ -z "$BASE" ]; then
case `uname -s` in case `uname -s` in
Darwin) # We only support darwin-x86 now. No ppc available anymore. Darwin)
BASE=darwin ;; case `uname -p` in
powerpc) BASE=ppc ;;
i386) BASE=darwin ;;
esac ;;
SunOS) SunOS)
case `uname -m` in case `uname -m` in
sun4u) BASE=sparc ;; sun4u) BASE=sparc ;;
...@@ -118,6 +121,8 @@ buildsun4 () ...@@ -118,6 +121,8 @@ buildsun4 ()
case `uname -m` in case `uname -m` in
i386*|x86*|i86pc) buildx86 ;; i386*|x86*|i86pc) buildx86 ;;
sun*) buildsun4 ;; sun*|"Power Mac*")
# buildsun4 works for sparc and ppc.
buildsun4 ;;
*) echo "Unsupported architecture: `uname -m`" ;; *) echo "Unsupported architecture: `uname -m`" ;;
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment