mirror of
https://github.com/bellard/quickjs.git
synced 2026-03-31 12:18:01 +00:00
added -fwrapv to CFLAGS to ensure that signed overflows have a well defined behavior
This commit is contained in:
parent
9e52965257
commit
a610598df6
1
Makefile
1
Makefile
@ -96,6 +96,7 @@ else
|
||||
endif
|
||||
endif
|
||||
STRIP=$(CROSS_PREFIX)strip
|
||||
CFLAGS+=-fwrapv # ensure that signed overflows behave as expected
|
||||
ifdef CONFIG_WERROR
|
||||
CFLAGS+=-Werror
|
||||
endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user