git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f9b07b
)
When building for 10.4 or 10.5, force 32-bit x86 on x86 and 32-bit PPC
author
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Sep 2013 10:24:00 +0000
(10:24 +0000)
committer
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Sep 2013 10:24:00 +0000
(10:24 +0000)
on PPC.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@51921
f5534014
-38df-0310-8fa8-
9805f1628bb7
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 4fc4cbe75f0d47a5af74541be0fc750ade814da9..81a499efe7d1427848edd7cb01802b88cdc1f012 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-434,9
+434,18
@@
then
# functions not to work with 64-bit userland
# code, so capturing won't work.
#
- CFLAGS="-arch i386 $CFLAGS"
- CXXFLAGS="-arch i386 $CXXFLAGS"
- LDFLAGS="-arch i386 $LDFLAGS"
+ case $host_cpu in
+ i*86 | x86_64)
+ CFLAGS="-arch i386 $CFLAGS"
+ CXXFLAGS="-arch i386 $CXXFLAGS"
+ LDFLAGS="-arch i386 $LDFLAGS"
+ ;;
+ powerpc*)
+ CFLAGS="-arch ppc $CFLAGS"
+ CXXFLAGS="-arch ppc $CXXFLAGS"
+ LDFLAGS="-arch ppc $LDFLAGS"
+ ;;
+ esac
;;
esac
else