diff options
Diffstat (limited to 'mk/wrapper/transform-gcc')
-rw-r--r-- | mk/wrapper/transform-gcc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/wrapper/transform-gcc b/mk/wrapper/transform-gcc index 7255a8cf024..b3b2187aa10 100644 --- a/mk/wrapper/transform-gcc +++ b/mk/wrapper/transform-gcc @@ -1,4 +1,4 @@ -# $NetBSD: transform-gcc,v 1.22 2012/01/21 12:05:03 shattered Exp $ +# $NetBSD: transform-gcc,v 1.23 2012/02/06 12:41:29 fhajny Exp $ # # This file handles the transformations needed for gcc that can be done # looking at only one argument at a time. @@ -112,6 +112,9 @@ case $arg in # There are some packages suppressing all warnings. We don't want that. -w ) transform_discard ;; +# Discard visibility (Sun linker won't support it) +-fvisibility=* ) transform_discard ;; + # Options specific to g++. -fexceptions |\ -fmessage-length=* |\ |