diff options
author | sL1pKn07 | 2019-04-06 17:59:51 +0200 |
---|---|---|
committer | sL1pKn07 | 2019-04-06 18:01:15 +0200 |
commit | 89c06dd28229d9e3c2dd9bea873acce0107d2f81 (patch) | |
tree | 64a839dbfab9a49148e0167e54bcd1a89af0556f /chromium-ffmpeg-clang.patch | |
parent | aa4774fa3f8a5a2fdf763f1d0d971a55548f123c (diff) | |
download | aur-89c06dd28229d9e3c2dd9bea873acce0107d2f81.tar.gz |
Update to 75.0.3753.4
Diffstat (limited to 'chromium-ffmpeg-clang.patch')
-rw-r--r-- | chromium-ffmpeg-clang.patch | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/chromium-ffmpeg-clang.patch b/chromium-ffmpeg-clang.patch index 4caf3ecf54b3..1a9d15fd0f3d 100644 --- a/chromium-ffmpeg-clang.patch +++ b/chromium-ffmpeg-clang.patch @@ -1,6 +1,15 @@ --- a/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py +++ b/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py -@@ -640,9 +640,9 @@ +@@ -425,7 +425,7 @@ def BuildFFmpeg(target_os, target_arch, host_os, host_arch, parallel_jobs, + os.path.join('libavutil', GetDsoName(target_os, 'avutil', 56)), + ] + PrintAndCheckCall( +- ['make', '-j%d' % parallel_jobs] + libraries, cwd=config_dir) ++ ['make', 'V=1', '-j%d' % parallel_jobs] + libraries, cwd=config_dir) + for lib in libraries: + shutil.copy( + os.path.join(config_dir, lib), os.path.join(config_dir, 'out')) +@@ -782,9 +782,10 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs, if 'win' not in target_os: configure_flags['Common'].extend([ '--enable-pic', @@ -10,6 +19,16 @@ + '--cc=__CLANG_PATH__clang', + '--cxx=__CLANG_PATH__clang++', + '--ld=__CLANG_PATH__clang', ++ '--ar=__CLANG_PATH__llvm-ar', ]) # Clang Linux will use the first 'ld' it finds on the path, which will +@@ -792,7 +792,7 @@ def ConfigureAndBuild(target_arch, target_os, host_os, host_arch, parallel_jobs, + # 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') ++ configure_flags['Common'].append('--extra-ldflags=-fuse-ld=__CLANG_PATH____LLD__') + + # Should be run on Mac, unless we're cross-compiling on Linux. + if target_os == 'mac': |