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

config/default: update.

parent 0dd56c44
...@@ -24,6 +24,8 @@ do ...@@ -24,6 +24,8 @@ do
shift shift
done done
# #
if test -z "$COMP" ; then COMP=gcc ; fi
#
set -x set -x
# #
case "${HOSTNAME}" in case "${HOSTNAME}" in
...@@ -61,13 +63,15 @@ case "${HOSTNAME}" in ...@@ -61,13 +63,15 @@ case "${HOSTNAME}" in
${CONFPATH}configure --enable-cxx \ ${CONFPATH}configure --enable-cxx \
$CDOLIBS \ $CDOLIBS \
CC=gcc CXX=g++ CFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native" CC=gcc CXX=g++ CFLAGS="-g -Wall -W -Wfloat-equal -pedantic -O3 -march=native"
else elif test "$COMP" = gcc ; then
${CONFPATH}configure --prefix=$HOME/local \ ${CONFPATH}configure --prefix=$HOME/local \
--enable-maintainer-mode \ --enable-maintainer-mode \
$CDOLIBS \ $CDOLIBS \
CC=gcc CFLAGS="-g -pipe -Wall -W -Wfloat-equal -Wwrite-strings -pedantic -O3 -march=native -fstack-protector" CC=gcc CFLAGS="-g -pipe -Wall -W -Wfloat-equal -Wwrite-strings -pedantic -O3 -march=native -fstack-protector"
# --with-libxml2=/usr # --with-libxml2=/usr
# --with-magics=/Users/m214003/local/magics-2.14.9 # --with-magics=/Users/m214003/local/magics-2.14.9
else
${CONFPATH}configure $CDOLIBS CC=$COMP
fi fi
;; ;;
hama*) hama*)
......
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