aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-09-29 22:39:51 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commitfd48cffcc1838060bcc451300b38982776779c13 (patch)
tree6df1f08c1748ad255953a1b6a25a2366d8ba4bca /wscript
parent30d845380249d1de3a28e12407c5263629424c6d (diff)
downloadserd-fd48cffcc1838060bcc451300b38982776779c13.tar.gz
serd-fd48cffcc1838060bcc451300b38982776779c13.tar.bz2
serd-fd48cffcc1838060bcc451300b38982776779c13.zip
Add minimal soft floating point implementation
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
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'])