Update build.sh

This commit is contained in:
Mike Aizatsky 2016-10-13 15:40:11 -07:00 committed by GitHub
parent 941e47d6e1
commit 496ea1b901
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ cat Makefile | sed -e "s/-no-canonical-prefixes//" \
> Makefile.temp
mv Makefile.temp Makefile
# woff2 uses LFLAGS instead of LDFLAGS.
export LFLAGS=$FUZZER_LDFLAGS
make CC="$CC $CFLAGS" CXX="$CXX $CXXFLAGS" clean all
# To avoid multiple main() definitions.