diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-27 09:55:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-27 09:55:02 +0100 |
commit | fc6f894d2211cee7b28cb93345e90297ec04fe06 (patch) | |
tree | 191fa0ef6e1b736308c69f432dafe77c96d61915 /solenv | |
parent | ce0e240ef10566f1cc334386dbde83b43ebb9281 (diff) |
Pass -fvisibility-inlines-hidden into external modules
Change-Id: Icf872e269c7e427ba1287ccd0082974c9426449e
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 89f151254c1c..7f8b617bfaba 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -92,9 +92,10 @@ ifeq (,$(filter -fvisibility=hidden,$(CC))) gb_VISIBILITY_FLAGS += -fvisibility=hidden endif ifneq ($(HAVE_GCC_VISIBILITY_BROKEN),TRUE) -gb_CXXFLAGS_COMMON += -fvisibility-inlines-hidden +gb_VISIBILITY_FLAGS_CXX := -fvisibility-inlines-hidden endif endif +gb_CXXFLAGS_COMMON += $(gb_VISIBILITY_FLAGS_CXX) ifeq ($(HAVE_GCC_STACK_PROTECTOR_STRONG),TRUE) gb_CFLAGS_COMMON += -fstack-protector-strong |