summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-03-07 02:26:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-03-07 02:26:31 (GMT)
commit73b756fe338375160353fd9c00f36aaa3f6cbf75 (patch)
treea6f15f3576c940eb4eb9c08d718748d1e8bb31f4 /config
parent51ecb0eceabbed7ca7e0cc7c2adfa3820ac26aee (diff)
downloadhdf5-73b756fe338375160353fd9c00f36aaa3f6cbf75.zip
hdf5-73b756fe338375160353fd9c00f36aaa3f6cbf75.tar.gz
hdf5-73b756fe338375160353fd9c00f36aaa3f6cbf75.tar.bz2
[svn-r8235] Purpose:
Bug fix Description: Fix build on sparc64 platform for FreeBSD by modifying the config/gnu-flags to not insert '-march=i686' on non-Intel platforms. (This change allows HDF5 to run correctly on all five of the main FreeBSD platforms... :-) Platforms tested: FreeBSD 4.9 (sleipnir) h5committest not run since it's a FreeBSD-specific fix.
Diffstat (limited to 'config')
-rw-r--r--config/gnu-flags4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index 28ff267..307dcff 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -91,11 +91,11 @@ fi
# Architecture-specific flags
case "$host_os-$host_cpu" in
- # FreeBSD sets the information from "hostname -m" to the general machine
+ # FreeBSD sets the information from "uname -m" to the general machine
# architecture, not the specific CPU for the machine, so even our
# Pentium II Xeon server is set to "i386". Once we know we are on a FreeBSD
# machine, use the "sysctl" command to get the CPU hardware model.
- freebsd*)
+ freebsd*-i386)
host_cpu_model=`sysctl -n hw.model`
case "$host_cpu_model" in
# Hmm.. this might not catch Celerons, but it won't hurt them either...