summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2023-10-25 09:49:59 -0500
committertrav90 <travawine@palemoon.org>2023-10-27 10:14:45 -0500
commitaff6fbf36c304f98af18412c73be723592a55c96 (patch)
treea66c649569ee1fb7743a1d3bdcd79a9c27cac748
parentef8447ad4ba81a863740c0eb6ad58008489caa80 (diff)
downloaduxp-aff6fbf36c304f98af18412c73be723592a55c96.tar.gz
Issue #2317 - Part 6 - Remove old workaround for clang-cl
This was added back in 2016 to work around issues with clang-cl. Shouldn't be needed anymore.
-rw-r--r--media/ffvpx/ffvpxcommon.mozbuild15
1 files changed, 0 insertions, 15 deletions
diff --git a/media/ffvpx/ffvpxcommon.mozbuild b/media/ffvpx/ffvpxcommon.mozbuild
index 41d5bda3b0..edadc4a23e 100644
--- a/media/ffvpx/ffvpxcommon.mozbuild
+++ b/media/ffvpx/ffvpxcommon.mozbuild
@@ -95,18 +95,3 @@ DEFINES['HAVE_AV_CONFIG_H'] = True
if CONFIG['MOZ_DEBUG']:
# Enable all assertions in debug builds.
DEFINES['ASSERT_LEVEL'] = 2
-
-# clang-cl's <intrin.h> doesn't work the same as MSVC's. For details, see:
-#
-# http://lists.llvm.org/pipermail/cfe-dev/2016-September/050943.html
-#
-# As a temporary workaround while upstream decides how to address this,
-# we enable modules to make <intrin.h> more MSVC-compatible.
-if CONFIG['CLANG_CL']:
- CFLAGS += [
- '-Xclang',
- '-fmodules',
- '-Xclang',
- '-fmodules-cache-path=' + TOPOBJDIR + '/media/ffpvx',
- '-fbuiltin-module-map',
- ]