Update of /cvsroot/plplot/plplot/lib/nn
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5860/lib/nn
Modified Files:
Makefile.am
Log Message:
If gcc is the compiler, then use the options -fno-force-mem -ffloat-store
to build libcsironn so that it gives more reliable results.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/plplot/plplot/lib/nn/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Makefile.am 14 Jul 2004 07:06:27 -0000 1.13
+++ Makefile.am 4 Sep 2004 22:43:20 -0000 1.14
@@ -21,6 +21,12 @@
# along with PLplot; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# If using the gcc compiler, this library needs to be built with
+# the -fno-force-mem -ffloat-store for most reliable performance.
+if cc_is_gcc
+ AM_CFLAGS = -fno-force-mem -ffloat-store
+endif
+
lib_LTLIBRARIES = libcsironn.la
libcsironn_la_SOURCES = delaunay.c hash.c istack.c lpi.c \
nnai.c nnpi.c nncommon.c
|