From fd48cffcc1838060bcc451300b38982776779c13 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Sep 2019 22:39:51 +0200 Subject: Add minimal soft floating point implementation --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index b43626d0..2943731d 100644 --- a/wscript +++ b/wscript @@ -61,6 +61,7 @@ def configure(conf): '-Wno-covered-switch-default', '-Wno-disabled-macro-expansion', '-Wno-double-promotion', + '-Wno-float-equal', '-Wno-format-nonliteral', '-Wno-implicit-fallthrough', '-Wno-padded', @@ -68,6 +69,7 @@ def configure(conf): ], 'gcc': [ '-Wno-cast-align', + '-Wno-float-equal', '-Wno-padded', ], 'msvc': [ @@ -181,6 +183,7 @@ lib_source = ['src/base64.c', 'src/range.c', 'src/reader.c', 'src/sink.c', + 'src/soft_float.c', 'src/statement.c', 'src/string.c', 'src/syntax.c', @@ -267,6 +270,7 @@ def build(bld): ('read_chunk_test', 'tests/read_chunk_test.c'), ('serd_test', 'tests/serd_test.c'), ('sink_test', 'tests/sink_test.c'), + ('soft_float_test', 'tests/soft_float_test.c'), ('statement_test', 'tests/statement_test.c'), ('terse_write_test', 'tests/terse_write_test.c')]: bld(features = 'c cprogram', @@ -699,6 +703,7 @@ def test(tst): check(['./read_chunk_test']) check(['./serd_test']) check(['./sink_test']) + check(['./soft_float_test']) check(['./statement_test']) check(['./terse_write_test']) -- cgit v1.2.1