Skip to content

Commit a7a71c4

Browse files
authored
Merge pull request #1254 from emutavchi/wpe-2.38-lto
Fix LTO build
2 parents ee006a2 + 73e25f1 commit a7a71c4

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

Source/ThirdParty/libwebrtc/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ set(webrtc_SOURCES
8181
Source/third_party/abseil-cpp/absl/synchronization/notification.cc
8282
Source/third_party/abseil-cpp/absl/hash/internal/wyhash.cc
8383
Source/third_party/abseil-cpp/absl/hash/internal/hash.cc
84-
Source/third_party/abseil-cpp/absl/hash/internal/print_hash_of.cc
8584
Source/third_party/abseil-cpp/absl/hash/internal/city.cc
8685
Source/third_party/abseil-cpp/absl/debugging/symbolize.cc
8786
Source/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc
@@ -119,7 +118,6 @@ set(webrtc_SOURCES
119118
Source/third_party/abseil-cpp/absl/random/gaussian_distribution.cc
120119
Source/third_party/abseil-cpp/absl/random/discrete_distribution.cc
121120
Source/third_party/abseil-cpp/absl/random/seed_gen_exception.cc
122-
Source/third_party/abseil-cpp/absl/random/internal/gaussian_distribution_gentables.cc
123121
Source/third_party/abseil-cpp/absl/random/internal/seed_material.cc
124122
Source/third_party/abseil-cpp/absl/random/internal/randen_slow.cc
125123
Source/third_party/abseil-cpp/absl/random/internal/chi_square.cc
@@ -240,11 +238,6 @@ set(webrtc_SOURCES
240238
Source/third_party/boringssl/src/crypto/evp/sign.c
241239
Source/third_party/boringssl/src/crypto/ex_data.c
242240
Source/third_party/boringssl/src/crypto/fipsmodule/bcm.c
243-
Source/third_party/boringssl/src/crypto/fipsmodule/dh/check.c
244-
Source/third_party/boringssl/src/crypto/fipsmodule/dh/dh.c
245-
Source/third_party/boringssl/src/crypto/fipsmodule/ecdh/ecdh.c
246-
Source/third_party/boringssl/src/crypto/fipsmodule/ec/p256.c
247-
Source/third_party/boringssl/src/crypto/fipsmodule/rand/fork_detect.c
248241
Source/third_party/boringssl/src/crypto/hkdf/hkdf.c
249242
Source/third_party/boringssl/src/crypto/hpke/hpke.c
250243
Source/third_party/boringssl/src/crypto/hrss/hrss.c
@@ -1001,7 +994,6 @@ set(webrtc_SOURCES
1001994
Source/webrtc/modules/audio_processing/splitting_filter.cc
1002995
Source/webrtc/modules/audio_processing/test/conversational_speech/config.cc
1003996
Source/webrtc/modules/audio_processing/test/conversational_speech/timing.cc
1004-
Source/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/vad.cc
1005997
Source/webrtc/modules/audio_processing/three_band_filter_bank.cc
1006998
Source/webrtc/modules/audio_processing/transient/file_utils.cc
1007999
Source/webrtc/modules/audio_processing/transient/moving_moments.cc

Source/WebCore/Modules/mediastream/RTCDataChannel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ RTCDataChannel::RTCDataChannel(ScriptExecutionContext& context, std::unique_ptr<
104104
{
105105
}
106106

107+
RTCDataChannel::~RTCDataChannel() = default;
108+
107109
std::optional<unsigned short> RTCDataChannel::id() const
108110
{
109111
if (!m_options.id && m_handler)

Source/WebCore/Modules/mediastream/RTCDataChannel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class RTCDataChannel final : public RefCounted<RTCDataChannel>, public ActiveDOM
8989
using RefCounted<RTCDataChannel>::deref;
9090

9191
WEBCORE_EXPORT static std::unique_ptr<RTCDataChannelHandler> handlerFromIdentifier(RTCDataChannelLocalIdentifier);
92+
virtual ~RTCDataChannel();
9293

9394
private:
9495
RTCDataChannel(ScriptExecutionContext&, std::unique_ptr<RTCDataChannelHandler>&&, String&&, RTCDataChannelInit&&);

Source/cmake/OptionsWPE.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ set(bmalloc_LIBRARY_TYPE OBJECT)
197197
set(WTF_LIBRARY_TYPE OBJECT)
198198
set(JavaScriptCore_LIBRARY_TYPE OBJECT)
199199
set(WebCore_LIBRARY_TYPE OBJECT)
200+
set(PAL_LIBRARY_TYPE OBJECT)
200201

201202
# These are shared variables, but we special case their definition so that we can use the
202203
# CMAKE_INSTALL_* variables that are populated by the GNUInstallDirs macro.

0 commit comments

Comments
 (0)