Remove visibility-inlines-hidden from visibility api

This commit is contained in:
thomas desveaux 2018-04-12 19:30:32 +02:00
parent aea34396fa
commit 66e3576871
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@
},
visibility = {
Default = "-fvisibility=default",
Hidden = { "-fvisibility=hidden", "-fvisibility-inlines-hidden" },
Hidden = "-fvisibility=hidden",
Internal = "-fvisibility=internal",
Protected = "-fvisibility=protected",
}

View File

@ -822,8 +822,8 @@
function suite.cxxflags_onVisibilityHidden()
visibility "Hidden"
prepare()
test.excludes({ "-fvisibility=hidden", "-fvisibility-inlines-hidden" }, gcc.getcflags(cfg))
test.contains({ "-fvisibility=hidden", "-fvisibility-inlines-hidden" }, gcc.getcxxflags(cfg))
test.excludes({ "-fvisibility=hidden" }, gcc.getcflags(cfg))
test.contains({ "-fvisibility=hidden" }, gcc.getcxxflags(cfg))
end
function suite.cxxflags_onVisibilityInternal()