diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-03-24 20:05:10 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-03-24 20:05:10 (GMT) |
commit | f8704f4e3503154642372aa53f4133a004c9b245 (patch) | |
tree | e829119d508d84198db9f4d7d5b99670d9eda4c0 | |
parent | fbd26a8b374be8883ac857e530aa1c429642e99f (diff) | |
download | hdf5-f8704f4e3503154642372aa53f4133a004c9b245.zip hdf5-f8704f4e3503154642372aa53f4133a004c9b245.tar.gz hdf5-f8704f4e3503154642372aa53f4133a004c9b245.tar.bz2 |
[svn-r12152] Purpose:
Removed -march flag
Description:
The -march flag was used for architecture-specific optimizations on a few
platforms. However, it isn't always desirable.
Solution:
A user wanted to build HDF5 to be shared across several Linux
boxes, but the -march flag prevented it.
Platforms tested:
heping (one of the few platforms affected by this change)
-rw-r--r-- | config/gnu-flags | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index 7517b5d..f5b9c62 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -117,13 +117,19 @@ case "$cc_vendor-$cc_version" in case "$host_cpu_model" in # Hmm.. this might not catch Celerons, but it won't hurt them either... *Pro*|*II*|*III*|*IV*|*Athlon*) - arch="-march=i686" + # architecture-specific optimizations cause problems + # for some users who build binaries to be used on + # multiple architectures. + # arch="-march=i686" ;; esac ;; *-i686) - arch="-march=i686" + # architecture-specific optimizations cause problems + # for some users who build binaries to be used on + # multiple architectures. + #arch="-march=i686" ;; esac |