We still need some stuff from gnu-flags. Just remove the arch stuff

epel9
Orion Poplawski 19 years ago
parent 4167480bd3
commit 035a819f7b

@ -1,36 +1,56 @@
--- hdf5-1.6.5/config/linux-gnulibc1.orig 2005-10-28 14:15:27.000000000 -0600 --- hdf5-1.6.5/config/gnu-flags.orig 2005-10-28 14:15:26.000000000 -0600
+++ hdf5-1.6.5/config/linux-gnulibc1 2006-03-13 09:49:37.000000000 -0700 +++ hdf5-1.6.5/config/gnu-flags 2006-03-13 10:59:58.000000000 -0700
@@ -25,14 +25,5 @@ @@ -107,25 +107,6 @@
CC_BASENAME=gcc gcc*|egcs*|pgcc*)
fi # Architecture-specific flags
arch=
-# Figure out GNU C compiler flags - case "$host_os-$host_cpu" in
-. $srcdir/config/gnu-flags - # FreeBSD sets the information from "uname -m" to the general machine
- - # architecture, not the specific CPU for the machine, so even our
-# Figure out PGI C compiler flags - # Pentium II Xeon server is set to "i386". Once we know we are on a FreeBSD
-. $srcdir/config/pgi-flags - # machine, use the "sysctl" command to get the CPU hardware model.
- 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...
- *Pro*|*II*|*III*|*IV*|*Athlon*)
- arch="-march=i686"
- ;;
- esac
- ;;
- -
-# Figure out Intel C compiler flags - *-i686)
-. $srcdir/config/intel-flags - arch="-march=i686"
- - ;;
# Check MPICH settings - esac
. $srcdir/config/mpich
--- hdf5-1.6.5/fortran/config/linux-gnulibc1.orig 2006-03-13 09:39:23.000000000 -0700
+++ hdf5-1.6.5/fortran/config/linux-gnulibc1 2006-03-13 09:47:18.000000000 -0700
@@ -25,16 +25,6 @@
CC_BASENAME=gcc
fi
-# Figure out GNU C compiler flags # Host-specific flags
-. $srcdir/config/gnu-flags case "`hostname`" in
- --- hdf5-1.6.5/fortran/config/gnu-flags.orig 2005-10-28 14:57:02.000000000 -0600
-# Figure out PGI C compiler flags +++ hdf5-1.6.5/fortran/config/gnu-flags 2006-03-13 10:59:22.000000000 -0700
-. $srcdir/config/pgi-flags @@ -107,25 +107,6 @@
gcc*|egcs*|pgcc*)
# Architecture-specific flags
arch=
- case "$host_os-$host_cpu" in
- # 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*-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...
- *Pro*|*II*|*III*|*IV*|*Athlon*)
- arch="-march=i686"
- ;;
- esac
- ;;
- -
-# Figure out Intel C compiler flags - *-i686)
-. $srcdir/config/intel-flags - arch="-march=i686"
- - ;;
- - esac
# The default Fortran 90 compiler
if test "X-" = "X-$F9X"; then # Host-specific flags
case $CC_BASENAME in case "`hostname`" in

Loading…
Cancel
Save