Skip to content

Commit

Permalink
Disable LTO when compiling this section of code
Browse files Browse the repository at this point in the history
This seems to die on Linux, so let's throw a Hail Mary and see what happens.
  • Loading branch information
MrAlex94 authored Aug 11, 2020
1 parent b1c4b43 commit 436a88b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dom/media/gmp/widevine-adapter/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ LOCAL_INCLUDES += [
]

if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += ['-Wno-error=shadow']
CXXFLAGS += [
'-Wno-error=shadow',
'-fno-lto',
]

include('/ipc/chromium/chromium-config.mozbuild')

0 comments on commit 436a88b

Please sign in to comment.