summarylogtreecommitdiffstats
path: root/chromium-ffmpeg-clang.patch
diff options
context:
space:
mode:
authorsL1pKn072018-04-01 16:50:19 +0200
committersL1pKn072018-04-01 16:50:19 +0200
commit84e8d7a1e461bb5f0f59bb946d289e4169bbfee8 (patch)
tree59554ba9495dcbf7bd782a3c34c1403d81177c61 /chromium-ffmpeg-clang.patch
parent8187a86bacbd811358ae51c689ae564aeceecfee (diff)
downloadaur-84e8d7a1e461bb5f0f59bb946d289e4169bbfee8.tar.gz
try to fix compiler problems
Diffstat (limited to 'chromium-ffmpeg-clang.patch')
-rw-r--r--chromium-ffmpeg-clang.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium-ffmpeg-clang.patch b/chromium-ffmpeg-clang.patch
new file mode 100644
index 000000000000..4caf3ecf54b3
--- /dev/null
+++ b/chromium-ffmpeg-clang.patch
@@ -0,0 +1,15 @@
+--- a/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
++++ b/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
+@@ -640,9 +640,9 @@
+ if 'win' not in target_os:
+ configure_flags['Common'].extend([
+ '--enable-pic',
+- '--cc=clang',
+- '--cxx=clang++',
+- '--ld=clang',
++ '--cc=__CLANG_PATH__clang',
++ '--cxx=__CLANG_PATH__clang++',
++ '--ld=__CLANG_PATH__clang',
+ ])
+
+ # Clang Linux will use the first 'ld' it finds on the path, which will