Skip to content

Commit 7f0866a

Browse files
committed
comment
1 parent 5ae4197 commit 7f0866a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ endif
4747
#endif
4848

4949
# IMPORTANT: Do NOT remove -ftrapv from the list of flags, it is used to allow
50-
# signed integer arithmetic without explicit overflow checks.
50+
# signed integer arithmetic without explicit overflow checks. Also make sure
51+
# that -ftrapv ALWAYS comes after -fno-strict-overflow, as
52+
# -fno-strict-overflow implies -fwrapv, and -ftrapv must override -fwrapv.
5153
FORTIFY_CFLAGS := -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 \
5254
-fstack-clash-protection -fstack-protector-all \
5355
-fno-delete-null-pointer-checks -fno-strict-overflow -fno-strict-aliasing \

0 commit comments

Comments
 (0)