Skip to content
Snippets Groups Projects
Commit 3aa9bd6c authored by Blue Swirl's avatar Blue Swirl
Browse files

Add Sparc define checks

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6144 c046a42c-6fe2-441c-8c8c-71466251a162
parent a456d59c
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,14 @@ if check_define __i386__ ; then
cpu="i386"
elif check_define __x86_64__ ; then
cpu="x86_64"
elif check_define __sparc__ ; then
# We can't check for 64 bit (when gcc is biarch) or V8PLUSA
# They must be specified using --sparc_cpu
if check_define __arch64__ ; then
cpu="sparc64"
else
cpu="sparc"
fi
else
cpu=`test $(uname -s) = AIX && uname -p || uname -m`
fi
......
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