D5362: fuzz: more correctly specify CFLAGS and LDFLAGS when building Python

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Tue Dec 4 07:47:44 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4b83ae1e0387: fuzz: more correctly specify CFLAGS and LDFLAGS when building Python (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5362?vs=12687&id=12692

REVISION DETAIL
  https://phab.mercurial-scm.org/D5362

AFFECTED FILES
  contrib/fuzz/Makefile

CHANGE DETAILS

diff --git a/contrib/fuzz/Makefile b/contrib/fuzz/Makefile
--- a/contrib/fuzz/Makefile
+++ b/contrib/fuzz/Makefile
@@ -72,7 +72,7 @@
 
 # TODO use the $OUT env var instead of hardcoding /out
 /out/sanpy/bin/python:
-	cd /Python-2.7.15/ && ./configure --without-pymalloc --prefix=$$OUT/sanpy CFLAGS='-O1 -fno-omit-frame-pointer -g -fwrapv -fstack-protector-strong' LDFLAGS=-lasan  && ASAN_OPTIONS=detect_leaks=0 make && make install
+	cd /Python-2.7.15/ && ./configure --without-pymalloc --prefix=$$OUT/sanpy CFLAGS="$(CFLAGS)" LDFLAGS=$$PYLDFLAGS && ASAN_OPTIONS=detect_leaks=0 make && make install
 
 sanpy: /out/sanpy/bin/python
 



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list