summaryrefslogtreecommitdiff
path: root/tests/port
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-10 19:33:15 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-10 19:33:15 +0100
commit4d32ec5ab668d02c5b3dee83f0d8275b70e9014d (patch)
treea11253f14cdfaa024d9079fa3908d0995d121874 /tests/port
parentec73c109debbca1d24c40126e20bc4347b3b6db0 (diff)
downloadwolfbones-4d32ec5ab668d02c5b3dee83f0d8275b70e9014d.tar.gz
wolfbones-4d32ec5ab668d02c5b3dee83f0d8275b70e9014d.tar.bz2
fixed snprintf/stdio changes on Cygwin
Diffstat (limited to 'tests/port')
-rw-r--r--tests/port/GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/port/GNUmakefile b/tests/port/GNUmakefile
index af58e2f..0bb9f3d 100644
--- a/tests/port/GNUmakefile
+++ b/tests/port/GNUmakefile
@@ -16,6 +16,13 @@ TEST_BINS = \
-include $(TOPDIR)/makefiles/gmake/sub.mk
+# snprintf has some quirks, mainly -Wfloat-equal doesn't allow the
+# definition of ISNAN, ISINF, the C99 versions use math.h, ieee.h
+# libmath and more, which is maybe not really acceptable for a core
+# port (on the other hand so isn't NLS support!)
+test_snprintf.o : test_snprintf.c $(TOPDIR)/include/wolf/port/stdio.h $(TOPDIR)/src/port/snprintf.h $(TOPDIR)/src/port/snprintf.c
+ $(CC) -c -o $@ $(INCLUDE_DIRS) $<
+
local_all:
local_clean: