diff options
author | K.Kosako <kosako@sofnec.co.jp> | 2020-01-20 15:35:10 +0900 |
---|---|---|
committer | K.Kosako <kosako@sofnec.co.jp> | 2020-01-20 15:35:10 +0900 |
commit | f476865e9c1cf27e0c6a96eda3aad8a6da11f759 (patch) | |
tree | c7635600a34ef998b26313eb3c97ea622f322707 /Makefile.am | |
parent | 72f3e78a61afdf36d892ee184536052f8b31fafa (diff) | |
download | oniguruma-f476865e9c1cf27e0c6a96eda3aad8a6da11f759.zip oniguruma-f476865e9c1cf27e0c6a96eda3aad8a6da11f759.tar.gz oniguruma-f476865e9c1cf27e0c6a96eda3aad8a6da11f759.tar.bz2 |
add debug target into Makefile.am
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index ecc9848..c644c90 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,6 +42,11 @@ all-test: archive: git archive --format=tar --prefix=oniguruma/ HEAD | gzip > ../oniguruma-archive.tar.gz +debug: + make clean + ./configure CFLAGS="-O0 -g -DONIG_DEBUG_PARSE -DONIG_DEBUG_COMPILE" + make + sanitize: make clean ./configure CFLAGS="-O -g -fsanitize=address" LDFLAGS="-fsanitize=address" |