aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/ffmpeg/build.sh
diff options
context:
space:
mode:
authorGravatar Martin Storsjö <martin@martin.st>2018-11-07 16:22:01 +0200
committerGravatar jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2018-11-07 06:22:01 -0800
commit4d1a8863562c41b00f23f8368c27f8b906f10433 (patch)
tree75a0d682d59975a6b7c84a18c86f70941f2a3446 /projects/ffmpeg/build.sh
parent94ae92013a46e3ce8a73a43962b95804164aa4ab (diff)
ffmpeg: Build fdk-aac with -fno-sanitize=shift-base (#1932)
The upstream fdk-aac project at Fraunhofer currently have no active plans to avoid left shifts of negative values, so disable this checker to help find other potential issues.
Diffstat (limited to 'projects/ffmpeg/build.sh')
-rwxr-xr-xprojects/ffmpeg/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/projects/ffmpeg/build.sh b/projects/ffmpeg/build.sh
index 267e8934..87e83606 100755
--- a/projects/ffmpeg/build.sh
+++ b/projects/ffmpeg/build.sh
@@ -54,6 +54,7 @@ make install
cd $SRC/fdk-aac
autoreconf -fiv
+CXXFLAGS="$CXXFLAGS -fno-sanitize=shift-base" \
./configure --prefix="$FFMPEG_DEPS_PATH" --disable-shared
make clean
make -j$(nproc) all