diff options
author | BlackEagle | 2018-07-22 21:14:17 +0200 |
---|---|---|
committer | BlackEagle | 2018-07-22 21:14:17 +0200 |
commit | badecdf094f8650913db3e28a9fd19ef4901341d (patch) | |
tree | 5fcf242a67a96c635a48293ecb1a13305a73446d /chromium-ffmpeg-clang.patch | |
parent | 5fbb3aeeac62f80e45448b7321f990d37cd2eb04 (diff) | |
download | aur-badecdf094f8650913db3e28a9fd19ef4901341d.tar.gz |
opera-developer-ffmpeg-codecs :: 69.0.3472.3-1
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Diffstat (limited to 'chromium-ffmpeg-clang.patch')
-rw-r--r-- | chromium-ffmpeg-clang.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium-ffmpeg-clang.patch b/chromium-ffmpeg-clang.patch new file mode 100644 index 000000000000..3593d5eec80a --- /dev/null +++ b/chromium-ffmpeg-clang.patch @@ -0,0 +1,21 @@ +--- a/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py ++++ b/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py +@@ -639,18 +639,8 @@ + if 'win' not in target_os: + configure_flags['Common'].extend([ + '--enable-pic', +- '--cc=clang', +- '--cxx=clang++', +- '--ld=clang', + ]) + +- # Clang Linux will use the first 'ld' it finds on the path, which will +- # typically be the system one, so explicitly configure use of Clang's +- # ld.lld, to ensure that things like cross-compilation and LTO work. +- # This does not work for arm64, ia32 and is always used on mac. +- if target_arch not in ['arm64', 'ia32', 'mipsel'] and target_os != 'mac': +- configure_flags['Common'].append('--extra-ldflags=-fuse-ld=lld') +- + # Should be run on Mac, unless we're cross-compiling on Linux. + if target_os == 'mac': + if host_os != 'mac' and host_os != 'linux': |