Skip to content

Commit 46e7c2c

Browse files
committed
Also ask for strict overflow
1 parent e6f3f1d commit 46e7c2c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ pydebug: ## Build a debug python including address sanitizer. Extensions it bui
268268
set -x && cd "$(PYDEBUG_DIR)" && find . -delete && \
269269
curl https://www.python.org/ftp/python/`echo $(PYDEBUG_VER) | sed 's/[abr].*//'`/Python-$(PYDEBUG_VER).tar.xz | tar xfJ - && \
270270
cd Python-$(PYDEBUG_VER) && \
271-
./configure --with-address-sanitizer --with-undefined-behavior-sanitizer --without-pymalloc --with-pydebug --prefix="$(PYDEBUG_DIR)" \
271+
./configure --with-address-sanitizer --with-undefined-behavior-sanitizer --with-strict-overflow \
272+
--without-pymalloc --with-pydebug --prefix="$(PYDEBUG_DIR)" \
272273
--without-freelists --with-assertions && \
273274
env ASAN_OPTIONS=detect_leaks=false $(MAKE) -j install
274275
$(MAKE) dev-depends PYTHON=$(PYDEBUG_DIR)/bin/python3

0 commit comments

Comments
 (0)