Commit 3d689f72 by Alexis Hetu Committed by Alexis Hétu

Fix for Chromium linux official build

Bug chromium:691427 The official build uses the LLVM gold linker, which seems to have an issue with some visibility settings. Restoring these settings for now to solve the issue. Change-Id: I4f448c38bb7c964b2a53d19e064ecb23c119ab61 Reviewed-on: https://swiftshader-review.googlesource.com/8770Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 12a2d054
......@@ -35,7 +35,6 @@ config("swiftshader_config") {
"-std=c++11",
"-Wall",
"-fexceptions",
"-fvisibility=protected",
"-fno-operator-names",
"-D__STDC_CONSTANT_MACROS",
"-D__STDC_LIMIT_MACROS",
......
......@@ -41,7 +41,7 @@ config("swiftshader_libGLESv2_private_config") {
]
if (is_linux) {
cflags += [ "-DGL_APICALL=__attribute__((visibility(\"protected\")))" ]
cflags += [ "-DGL_APICALL=" ]
} else {
cflags += [ "-DGL_APICALL=__attribute__((visibility(\"default\")))" ]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment