Mercurial > hg
changeset 40809:177b47ce0375
fuzz: more correctly specify CFLAGS and LDFLAGS when building Python
Gets us closer to a working msan build alongside our asan build.
Differential Revision: https://phab.mercurial-scm.org/D5362
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 13 Nov 2018 09:19:05 -0500 |
parents | c460b1643eb0 |
children | 0fecf70fa8d4 |
files | contrib/fuzz/Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/fuzz/Makefile Tue Dec 04 00:19:33 2018 -0500 +++ b/contrib/fuzz/Makefile Tue Nov 13 09:19:05 2018 -0500 @@ -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