diff --git a/Netgen/Makefile b/Netgen/Makefile index fdc9b914952428ff86d298185974afdfcc0fb259..986340c7e8924670aa7e3e46263386ee4d90af55 100644 --- a/Netgen/Makefile +++ b/Netgen/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.4 2004-06-30 21:15:58 geuzaine Exp $ +# $Id: Makefile,v 1.5 2004-07-01 17:37:22 geuzaine Exp $ # # Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle # @@ -23,7 +23,7 @@ include ../variables LIB = ../lib/libGmshNetgen.a INCLUDE = -I../Common -Ilibsrc/include -Ilibsrc/interface -CFLAGS = ${OPTIM} ${INCLUDE} -DNO_PARALLEL_THREADS +CFLAGS = ${OPTIM} ${FLAGS} ${INCLUDE} -DNO_PARALLEL_THREADS SRC = libsrc/opti/linopt.cpp \ libsrc/opti/bfgs.cpp \ diff --git a/configure b/configure index 4187882b6c86f2d25b8f1eb5d0745e9b46de57bd..782fd554d761f06e54b1d972d9bd8499c9c5ee68 100755 --- a/configure +++ b/configure @@ -3850,7 +3850,7 @@ case "$UNAME" in CXX="CC" CC="cc" OPTIM="-O2" - FLAGS="-mips3 -n32 -LANG:std -OPT:Olimit=0 ${FLAGS}" + FLAGS="-mips3 -n32 -LANG:std -OPT:Olimit=0 -DOLDCINCLUDE ${FLAGS}" AR="CC -mips3 -n32 -ar -o" LINKER="CC -O2 -mips3 -n32" ;; diff --git a/configure.in b/configure.in index ed2b49ff7b1047189321b8f3a081f0f1b10abca6..172b397c89673bc29134dd4c0c6fe120168cab0f 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.54 2004-06-26 17:58:14 geuzaine Exp $ +dnl $Id: configure.in,v 1.55 2004-07-01 17:37:22 geuzaine Exp $ dnl dnl Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle dnl @@ -385,7 +385,8 @@ case "$UNAME" in CXX="CC" CC="cc" OPTIM="-O2" - FLAGS="-mips3 -n32 -LANG:std -OPT:Olimit=0 ${FLAGS}" + dnl -DOLDCINCLUDE is for Netgen + FLAGS="-mips3 -n32 -LANG:std -OPT:Olimit=0 -DOLDCINCLUDE ${FLAGS}" AR="CC -mips3 -n32 -ar -o" LINKER="CC -O2 -mips3 -n32" ;;