mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-22 23:39:58 +00:00
add sanitizer option to libretro makefile
This commit is contained in:
parent
fddcf2a166
commit
d86d3ad4e6
@ -296,6 +296,12 @@ else
|
||||
CXXFLAGS += -O3 -fno-exceptions -fno-rtti -DHAVE_STDINT_H
|
||||
endif
|
||||
|
||||
ifneq ($(SANITIZER),)
|
||||
CFLAGS += -fsanitize=$(SANITIZER)
|
||||
CXXFLAGS += -fsanitize=$(SANITIZER)
|
||||
LDFLAGS += -fsanitize=$(SANITIZER)
|
||||
endif
|
||||
|
||||
CXXFLAGS += -std=c++98
|
||||
|
||||
CORE_DIR := libgambatte/src
|
||||
|
Loading…
Reference in New Issue
Block a user