Commit d76a1aa3 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

config/default update.

parent 34f34d05
......@@ -54,7 +54,8 @@ case "${HOSTNAME}" in
CXX=clang++ CXXFLAGS="-g -Wall -O3" \
CC=clang CFLAGS="-g -Wall -O3"
elif test "$COMP" = gnu ; then
${CONFPATH}configure \
${CONFPATH}configure --prefix=$HOME/local \
--enable-maintainer-mode \
$CDOLIBS \
CXX=g++ CXXFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native -march=native" \
CC=gcc CFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native -march=native"
......
......@@ -17686,12 +17686,12 @@ done
 
 
# Check compiler version
case "$CC" in
case "$CXX" in
pgcc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
*gcc*) CXX_VERSION=`$CXX --version | head -n 1`;;
g++*) CXX_VERSION=`$CXX --version | head -n 1`;;
clang*) CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*) CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*) CXX_VERSION=`$CXX --version | head -n 1`;;
sxc*) CXX_VERSION=`$CXX -V 2>&1 | tail -n 1`;;
xlc*) CXX_VERSION=`$CXX -qversion 2>&1 | head -n 1`;;
*) CXX_VERSION=`$CXX -V 2>&1 | head -n 1 | grep -v error`;;
......
......@@ -81,12 +81,12 @@ AC_CHECK_FUNCS(getrlimit)
AC_CHECK_FUNCS(gethostname)
# Check compiler version
case "$CC" in
case "$CXX" in
pgcc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
*gcc*) CXX_VERSION=`$CXX --version | head -n 1`;;
g++*) CXX_VERSION=`$CXX --version | head -n 1`;;
clang*) CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*) CXX_VERSION=`$CXX --version | head -n 1`;;
icpc*) CXX_VERSION=`$CXX --version | head -n 1`;;
sxc*) CXX_VERSION=`$CXX -V 2>&1 | tail -n 1`;;
xlc*) CXX_VERSION=`$CXX -qversion 2>&1 | head -n 1`;;
*) CXX_VERSION=`$CXX -V 2>&1 | head -n 1 | grep -v error`;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment