OSDN Git Service

Fix Linux build.
authorNicolas Capens <capn@google.com>
Wed, 25 Apr 2018 20:26:17 +0000 (16:26 -0400)
committerNicolas Capens <nicolascapens@google.com>
Wed, 25 Apr 2018 21:00:18 +0000 (21:00 +0000)
commit840f47ea853b48c0c3f35c279489862c2ff0c979
treea6a7a5de84202897a65d62a2e0c919648356549f
parenta8bb28ca07e7dc2de2318d47f2be477d9911dcff
Fix Linux build.

We don't need protected visibility because we now have a version script
which hides all symbols except the ones we want to export.

Fixes ld linker errors:
 relocation R_X86_64_PC32 against protected symbol `libEGL_swiftshader' can not be used when making a shared object
 relocation R_X86_64_PC32 against protected symbol `libGLESv2_swiftshader' can not be used when making a shared object

Change-Id: I059c4b03f2523bf8caf08180b02a349d3cf7b2f2
Reviewed-on: https://swiftshader-review.googlesource.com/18708
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
CMakeLists.txt
src/OpenGL/libEGL/main.cpp
src/OpenGL/libGLESv2/entry_points.cpp