From a37ef3ecbfda2918e6cd9971e0b66946f690ebe8 Mon Sep 17 00:00:00 2001 From: Carlos Estrague / Mrc_munir Date: Sun, 15 Oct 2017 04:33:57 -0400 Subject: [PATCH] Will fix Android-x86_64 cmake Use the same flags from android-x86 project load fine in marsmallow and nougat tested android-x86 images and avd images set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-fatal-warnings -Wl,-Bsymbolic") --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 558517394e..91f0541b98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1614,7 +1614,7 @@ add_library(${CoreLibName} ${CoreLinkType} if(ANDROID) set(CoreExtraLibs ${CoreExtraLibs} android) if(X86_64) - set(CoreExtraLibs -Wl,--gc-sections -Wl,--exclude-libs,ALL) + set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-fatal-warnings -Wl,-Bsymbolic") endif() endif()