diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-12-02 10:45:27 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-12-02 10:45:27 +0000 |
commit | 4745714e751cdaaaf25911db917ea20b34c072ef (patch) | |
tree | 1fe5502dd58d02a46c0c0cd4c2e9e1da1f33d722 /Build/source/m4 | |
parent | f42be3ee30adf8ed99f663941e792fc765757571 (diff) |
libs/cairo: Hide symbols (for Luigi)
git-svn-id: svn://tug.org/texlive/trunk@35717 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4')
-rw-r--r-- | Build/source/m4/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/m4/kpse-visibility.m4 | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/m4/ChangeLog b/Build/source/m4/ChangeLog index d5882502be9..4dd0c4ce8b5 100644 --- a/Build/source/m4/ChangeLog +++ b/Build/source/m4/ChangeLog @@ -1,3 +1,7 @@ +2014-12-02 Peter Breitenlohner <peb@mppmu.mpg.de> + + * kpse-visibility.m4: Also try -fvisibility-inlines-hidden. + 2014-11-17 Peter Breitenlohner <peb@mppmu.mpg.de> * kpse-win32.m4: Check for WIN64 and AC_SUBST([WIN_WRAPPER]). diff --git a/Build/source/m4/kpse-visibility.m4 b/Build/source/m4/kpse-visibility.m4 index 740fc459a53..f5db6f9da09 100644 --- a/Build/source/m4/kpse-visibility.m4 +++ b/Build/source/m4/kpse-visibility.m4 @@ -1,5 +1,5 @@ # Public macros for the TeX Live (TL) tree. -# Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org> +# Copyright (C) 2013, 2014 Peter Breitenlohner <tex-live@tug.org> # # This file is free software; the copyright holders # give unlimited permission to copy and/or distribute it, @@ -60,8 +60,8 @@ AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <stdio.h> extern void foo(void); void foo(void){printf("foo\n");}]])]) # FIXME: Add tests for non-GNU compilers -for kpse_flag in '-fvisibility=hidden'; do - AS_TR_CPP($2)="$kpse_save_flags $kpse_flag" +for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do + AS_TR_CPP($2)="$kpse_save_flags -Werror $kpse_flag" AC_COMPILE_IFELSE([], [kpse_cv_visibility_$2=$kpse_flag; break]) done AC_LANG_POP([$1]) |