mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
add shorthand for building with fsanitize.
This commit is contained in:
parent
8802ad5f40
commit
c257299fa4
5
Makefile
5
Makefile
@ -89,6 +89,11 @@ ifneq ("$(PYTHON)", "")
|
||||
FEATURES_INC+=$(shell python3-config --includes)
|
||||
endif
|
||||
|
||||
ifneq ("$(SANITIZE)", "")
|
||||
CFLAGS+=-fsanitize=$(SANITIZE)
|
||||
LDFLAGS+=-fsanitize=$(SANITIZE)
|
||||
endif
|
||||
|
||||
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
|
||||
ifeq ("$(OSNAME)", "darwin")
|
||||
CFLAGS+=-I/opt/local/include/ -I/usr/local/opt/openssl/include
|
||||
|
Loading…
x
Reference in New Issue
Block a user