gcc: realize gas supports visibility

. solution for "warning: visibility attribute not supported in
	  this configuration"
	. needed to make warnings fatal, -Werror

Change-Id: If972300a82df570093f2d89825935483ff69fb18
This commit is contained in:
Ben Gras 2013-08-26 16:31:54 +00:00
parent d5c6c6a51b
commit 1fbbfa06c2
3 changed files with 6 additions and 3 deletions

View file

@ -967,7 +967,7 @@
/* Define if your assembler and linker support .hidden. */
/* #undef HAVE_GAS_HIDDEN */
#define HAVE_GAS_HIDDEN 1
/* Define if your assembler supports .lcomm with an alignment field. */
#ifndef USED_FOR_TARGET

View file

@ -967,7 +967,7 @@
/* Define if your assembler and linker support .hidden. */
/* #undef HAVE_GAS_HIDDEN */
#define HAVE_GAS_HIDDEN 1
/* Define if your assembler supports .lcomm with an alignment field. */
#ifndef USED_FOR_TARGET

View file

@ -44,12 +44,15 @@ COMMON_CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} \
COMMON_CONFIGURE_ARGS+= \
--disable-libssp \
--disable-threads \
--disable-visibility \
--enable-visibility \
--disable-libunwind
CONFIGURE_ENV+= gcc_cv_ld_hidden=yes
.if ${HOST_OSTYPE:C/\-.*//} == "Minix"
CONFIGURE_ENV+= LDFLAGS=-lm
.endif # ${HOST_OSTYPE:C/\-.*//} == "Minix"
.endif # defined(__MINIX)
.if defined(GCC_CONFIG_ARCH.${MACHINE_ARCH})