diff --git a/configure.ac b/configure.ac
index 8746b0c75f..1ed2312d09 100644
--- a/configure.ac
+++ b/configure.ac
@@ -453,7 +453,7 @@ fi
 
 case "${ax_cv_c_compiler_vendor}" in
 sun)
-	VISIBILITY_FLAG=-xldscope=hidden
+	VISIBILITY_FLAG=
 ;;
 *)
 	VISIBILITY_FLAG=-fvisibility=hidden