diff options
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index a3735188280..cc4843188d8 100755 --- a/gcc/configure +++ b/gcc/configure @@ -21708,6 +21708,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_hidden" >&5 $as_echo "$gcc_cv_as_hidden" >&6; } +case "${target}" in + *-*-darwin*) + # Darwin as has some visibility support, though with a different syntax. + gcc_cv_as_hidden=yes + ;; +esac # gnu_indirect_function type is an extension proposed at # http://groups.google/com/group/generic-abi/files. It allows dynamic runtime @@ -21812,6 +21818,10 @@ else fi else case "${target}" in + *-*-darwin*) + # Darwin ld has some visibility support. + gcc_cv_ld_hidden=yes + ;; hppa64*-*-hpux* | ia64*-*-hpux*) gcc_cv_ld_hidden=yes ;; |