From d88d363ef9f37977724853a967ff7b7b9005671a Mon Sep 17 00:00:00 2001 From: James Laird Date: Fri, 24 Mar 2006 15:28:01 -0500 Subject: [svn-r12154] Purpose: Removed -march flag Description: The -march optimization flag is bad in some circumstances Solution: Prevented HDF5 from adding the -march archicture-specific optimization flag, so that users could have one version of HDF5 used by several different machines. Platforms tested: heping (one of the few platforms that affected by this small change) --- config/gnu-flags | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/gnu-flags b/config/gnu-flags index f081e55..84b7196 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 -- cgit v0.12