From 15a5ccca9acc863c020e6d5bb18955e7cd90570e Mon Sep 17 00:00:00 2001 From: wwcv Date: Mon, 19 Nov 2018 17:47:42 -0500 Subject: [PATCH] [libvpx] use CXX for linking (#1962) Fixes a build failure when linking with UBSAN https://github.com/google/oss-fuzz/issues/1961 --- projects/libvpx/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/libvpx/build.sh b/projects/libvpx/build.sh index 1272262f9..013297d1f 100755 --- a/projects/libvpx/build.sh +++ b/projects/libvpx/build.sh @@ -23,7 +23,7 @@ pushd ${build_dir} # Remove files generated by the previous build. rm -rf ./* -LDFLAGS="$CXXFLAGS" LD=$CC $SRC/libvpx/configure \ +LDFLAGS="$CXXFLAGS" LD=$CXX $SRC/libvpx/configure \ --disable-unit-tests \ --size-limit=12288x12288 \ --extra-cflags="-DVPX_MAX_ALLOCABLE_MEMORY=1073741824" \