From: Johann Date: Tue, 9 Jan 2018 20:46:45 +0000 (-0800) Subject: work around pic issue with gcc 6 X-Git-Tag: v1.7.0~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5dc3373dbd442ea299bacf276c4258fa7ce0559;p=libvpx work around pic issue with gcc 6 Enable pic when building sse2 or higher optimizations. BUG=webm:1464 Change-Id: I36c6e83ed716649f3d9ee10ce3aa9bb847cac2d9 --- diff --git a/build/make/configure.sh b/build/make/configure.sh index d7e40b83f..683b43037 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1312,6 +1312,11 @@ EOF check_gcc_machine_option ${ext%_*} $ext fi fi + + # https://bugs.chromium.org/p/webm/issues/detail?id=1464 + # The assembly optimizations for vpx_sub_pixel_variance do not link with + # gcc 6. + enabled sse2 && soft_enable pic done if enabled external_build; then