Sun Studio 12: C++ User's Guide

A.2.86 –s

Strips the symbol table from the executable file.

This option removes all symbol information from output executable files. This option is passed to ld.