[build] standardize on -fvisibility=hidden for all targets

Enables -fvisibility=hidden for iOS and Linux, and adds a workaround for GCC 6.3-7.1
Adds a GCC 6 build
Enables diagnostics for C files
Fixes a shadow warning in parsedate.c
This commit is contained in:
Konstantin Käfer
2017-11-29 15:54:40 +01:00
parent 2eec5a1980
commit 8757164ac8
19 changed files with 36 additions and 142 deletions

View File

@@ -30,7 +30,6 @@ macro(mbgl_platform_core)
target_link_libraries(mbgl-core
PUBLIC -lGLESv2
PUBLIC -lEGL
PUBLIC -lgbm
)
else()
target_sources(mbgl-core