[Mesa-dev] [PATCH] scons: Do not use -fvisibilty=hidden on Cygwin.

Brian Paul brianp at vmware.com
Mon Oct 22 07:00:41 PDT 2012


On 10/19/2012 11:23 PM, Vinson Lee wrote:
> This is a follow-up to commit db78643182dc39ed592dd8c2e5fc7c8eeb7316a1.
>
> Signed-off-by: Vinson Lee<vlee at freedesktop.org>
> ---
>   scons/gallium.py |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scons/gallium.py b/scons/gallium.py
> index c3f33a0..bba3f01 100755
> --- a/scons/gallium.py
> +++ b/scons/gallium.py
> @@ -368,7 +368,7 @@ def generate(env):
>               ccflags += ['-m64']
>               if platform == 'darwin':
>                   ccflags += ['-fno-common']
> -        if env['platform'] not in ('windows', 'haiku'):
> +        if env['platform'] not in ('cygwin', 'haiku', 'windows'):
>               ccflags += ['-fvisibility=hidden']
>           # See also:
>           # - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list