From f8704f4e3503154642372aa53f4133a004c9b245 Mon Sep 17 00:00:00 2001 From: James Laird Date: Fri, 24 Mar 2006 15:05:10 -0500 Subject: [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) --- config/gnu-flags | 10 ++++++++-- 1 file 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 -- cgit v0.12