Skip to content

Commit 9c0e742

Browse files
authored
Merge pull request #1575 from emutavchi/wpe-2.46-develop-buildfix
Fix DEVELOPER_MODE build
2 parents 5582c3d + 055ba9e commit 9c0e742

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Source/JavaScriptCore/API/tests/testapi.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include <wtf/Expected.h>
3636
#include <wtf/Noncopyable.h>
3737
#include <wtf/NumberOfCores.h>
38+
#include <wtf/MainThread.h>
3839
#include <wtf/Vector.h>
3940
#include <wtf/text/MakeString.h>
4041
#include <wtf/text/StringCommon.h>
@@ -1184,6 +1185,7 @@ void TestAPI::testBigInt()
11841185

11851186
void configureJSCForTesting()
11861187
{
1188+
WTF::initializeMainThread();
11871189
JSC::Config::configureForTesting();
11881190
JSC::Options::machExceptionHandlerSandboxPolicy = JSC::Options::SandboxPolicy::Allow;
11891191
}

Source/ThirdParty/libwebrtc/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ set(webrtc_SOURCES
246246
Source/third_party/boringssl/src/crypto/evp/evp.c
247247
Source/third_party/boringssl/src/crypto/evp/evp_ctx.c
248248
Source/third_party/boringssl/src/crypto/evp/pbkdf.c
249+
Source/third_party/boringssl/src/crypto/evp/p_dh_asn1.c
250+
Source/third_party/boringssl/src/crypto/evp/p_dh.c
249251
Source/third_party/boringssl/src/crypto/evp/p_dsa_asn1.c
250252
Source/third_party/boringssl/src/crypto/evp/p_ec_asn1.c
251253
Source/third_party/boringssl/src/crypto/evp/p_ec.c

Source/cmake/OptionsCommon.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ if (DEBUG_FISSION)
194194
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--gdb-index")
195195
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--gdb-index")
196196
endif ()
197+
if (WTF_CPU_ARM)
198+
string(REPLACE "-fdebug-types-section" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
199+
string(REPLACE "-fdebug-types-section" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
200+
endif ()
197201
endif ()
198202

199203
set(GCC_OFFLINEASM_SOURCE_MAP_DEFAULT OFF)

0 commit comments

Comments
 (0)