fi fi
dnl If we are on an x86 platform, add -tpp6 to optimization
- dnl flags
+ dnl flags (for version <10), or the equivalent for later
+ dnl processors
case "$target" in
*x86_64*)
LDFLAGS="$LDFLAGS -lpthread"
;;
*86*)
- CXXFLAGSO="$CXXFLAGSO -tpp6"
+ case "$GXX_VERSION" in
+ intel_icc5)
+ ;;
+ intel_icc[6789])
+ CXXFLAGSO="$CXXFLAGSO -tpp6"
+ ;;
+ *)
+ CXXFLAGSO="$CXXFLAGSO -mcpu=pentium4"
+ ;;
+ esac
;;
esac
;;
CXXFLAGSO="$CXXFLAGSO -ansi_alias -vec_report0"
fi fi
- case "$target" in
+ case "$target" in
*x86_64*)
LDFLAGS="$LDFLAGS -lpthread"
;;
*86*)
- CXXFLAGSO="$CXXFLAGSO -tpp6"
+ case "$GXX_VERSION" in
+ intel_icc5)
+ ;;
+ intel_icc6789)
+ CXXFLAGSO="$CXXFLAGSO -tpp6"
+ ;;
+ *)
+ CXXFLAGSO="$CXXFLAGSO -mcpu=pentium4"
+ ;;
+ esac
;;
esac
;;
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams