mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-10 22:31:51 +00:00
Remove -fwrapv compiler flag. (#278)
This was making sure that the overflow in some our opcode implementations was visible to the C code so that overflow detection would work in gcc and clang. This is now handled on those compilers by using some built-ins that detect overflow. The `-fwrapv` should no longer be needed. Closes Interlisp/medley#90.
This commit is contained in:
@@ -11,8 +11,8 @@ RANLIB = ranlib
|
||||
AR = ar rcv
|
||||
|
||||
# Compiler flags
|
||||
CLANG_CFLAGS = -std=gnu99 -fno-strict-aliasing -fwrapv
|
||||
GCC_CFLAGS = -std=gnu99 -fno-strict-aliasing -fwrapv
|
||||
CLANG_CFLAGS = -std=gnu99 -fno-strict-aliasing
|
||||
GCC_CFLAGS = -std=gnu99 -fno-strict-aliasing
|
||||
DEVSTUDIO_CFLAGS = -std=gnu99 -fno-strict-aliasing
|
||||
|
||||
DLPIFILES =
|
||||
|
||||
Reference in New Issue
Block a user