author | pcpa <paulo.cesar.pereira.de.andrade@gmail.com> | 2023年04月11日 11:08:44 -0300 |
---|---|---|
committer | pcpa <paulo.cesar.pereira.de.andrade@gmail.com> | 2023年04月11日 11:08:44 -0300 |
commit | d5499f8f1b521e66b097878f7362fe0ad7ab60bd (patch) | |
tree | 25f801922877df5db79005ba95a2ad5ee91e109f | |
parent | 394d3c828154fcf0e7ec1bde175167793c4fe559 (diff) | |
download | lightning-d5499f8f1b521e66b097878f7362fe0ad7ab60bd.tar.gz |
-rw-r--r-- | check/Makefile.am | 6 |
diff --git a/check/Makefile.am b/check/Makefile.am index 37a4d9c..a35156e 100644 --- a/check/Makefile.am +++ b/check/Makefile.am @@ -53,8 +53,14 @@ protect_SOURCES = protect.c riprel_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) riprel_SOURCES = riprel.c +# Actually, gcc 4.1.2 does not like unknown -Wno-option and errors out; +# better to just have warnings. +if cpu_ia64 +cbit_CFLAGS = $(AM_CFLAGS) -fwrapv +else cbit_CFLAGS = $(AM_CFLAGS) -fwrapv -Wno-overflow -Wno-integer-overflow \ -Wno-shift-count-overflow +endif cbit_LDADD = $(top_builddir)/lib/liblightning.la -lm $(SHLIB) cbit_SOURCES = cbit.c |