summaryrefslogtreecommitdiffstats
path: root/config/gnu-flags
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-03-07 02:26:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-03-07 02:26:35 (GMT)
commit576904f993bdf0e553bb4bdb82c220a9b3bfef5d (patch)
tree4ae3782fa6f37c098e621c2f45945be742efb082 /config/gnu-flags
parentf39bb776e3ba906a08e70ad67cf610ca427ff695 (diff)
downloadhdf5-576904f993bdf0e553bb4bdb82c220a9b3bfef5d.zip
hdf5-576904f993bdf0e553bb4bdb82c220a9b3bfef5d.tar.gz
hdf5-576904f993bdf0e553bb4bdb82c220a9b3bfef5d.tar.bz2
[svn-r8236] 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/gnu-flags')
-rw-r--r--config/gnu-flags4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index e8ffbf9..c0184c8 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...