summaryrefslogtreecommitdiffstats
path: root/external/openssl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-20 08:11:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-20 07:34:27 +0000
commitf255c3e96e25a43a4724d80287554d892d7ffd70 (patch)
treed254a6911479fcea98ec5c04569951219bb68501 /external/openssl
parentRemove obsolete HAVE_GCC_VISIBILITY_FEATURE check (diff)
downloadcore-f255c3e96e25a43a4724d80287554d892d7ffd70.tar.gz
core-f255c3e96e25a43a4724d80287554d892d7ffd70.zip
[API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always true
* GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>. * For external code, odk/settings/settings.mk unconditionally set HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112 Reviewed-on: https://gerrit.libreoffice.org/29073 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/openssl')
-rw-r--r--external/openssl/ExternalProject_openssl.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/external/openssl/ExternalProject_openssl.mk b/external/openssl/ExternalProject_openssl.mk
index 9ae7a1395cc6..aa25c3a776de 100644
--- a/external/openssl/ExternalProject_openssl.mk
+++ b/external/openssl/ExternalProject_openssl.mk
@@ -86,9 +86,8 @@ $(call gb_ExternalProject_get_state_target,openssl,build):
$(if $(SYSBASE),-I$(SYSBASE)/usr/include -L$(SYSBASE)/usr/lib)) \
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
&& $(MAKE) build_libs \
- CC="$(CC) -fPIC $(if $(filter-out WNT MACOSX,$(OS)),\
- $(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),\
- -fvisibility=hidden))" \
+ CC="$(CC) -fPIC \
+ $(if $(filter-out WNT MACOSX,$(OS)),-fvisibility=hidden)" \
)
endif