contrib/fuzz/Makefile
changeset 41001 c83ce53959ca
parent 40810 0fecf70fa8d4
child 41012 1e51dc85ce12
equal deleted inserted replaced
41000:b6c610bf567e 41001:c83ce53959ca
    70 	  fuzz-xdiffi.o fuzz-xprepare.o fuzz-xutils.o fuzzutil-oss-fuzz.o \
    70 	  fuzz-xdiffi.o fuzz-xprepare.o fuzz-xutils.o fuzzutil-oss-fuzz.o \
    71 	  -lFuzzingEngine -o $$OUT/xdiff_fuzzer
    71 	  -lFuzzingEngine -o $$OUT/xdiff_fuzzer
    72 
    72 
    73 # TODO use the $OUT env var instead of hardcoding /out
    73 # TODO use the $OUT env var instead of hardcoding /out
    74 /out/sanpy/bin/python:
    74 /out/sanpy/bin/python:
    75 	cd /Python-2.7.15/ ; ./configure --without-pymalloc --prefix=$$OUT/sanpy CFLAGS="$(CFLAGS)" LDFLAGS=$$PYLDFLAGS
    75 	cd /Python-2.7.15/ ; ASAN_OPTIONS=detect_leaks=0 ./configure --without-pymalloc --prefix=$$OUT/sanpy CFLAGS="$(CFLAGS)" LINKCC="$($CXX)" LDFLAGS="$(CXXFLAGS)"
    76 	cd /Python-2.7.15/ ; grep -v HAVE_GETC_UNLOCKED < pyconfig.h > tmp && mv tmp pyconfig.h
    76 	cd /Python-2.7.15/ ; grep -v HAVE_GETC_UNLOCKED < pyconfig.h > tmp && mv tmp pyconfig.h
    77 	cd /Python-2.7.15/ ; ASAN_OPTIONS=detect_leaks=0 make && make install
    77 	cd /Python-2.7.15/ ; ASAN_OPTIONS=detect_leaks=0 make && make install
    78 
    78 
    79 sanpy: /out/sanpy/bin/python
    79 sanpy: /out/sanpy/bin/python
    80 
    80