build: Compile with -ftrapv.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 26 Oct 2021 17:11:02 +0000 (19:11 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Jul 2022 17:22:09 +0000 (19:22 +0200)
commit9240a6e9119ac60c27cc3ba10a31a80976d65daf
tree189ae33633c46dbc7e5af5915451f283c976dd57
parent8a9e379465d2f60cec5ff91811db1eb661e4c9e3
build: Compile with -ftrapv.

This causes signed overflow to raise an exception. The option is
supported on the lowest gcc version we support, so we don't bother
to check by calling cc-option() in Makefile.real.
Makefile.real