Use -pic-none to suppress shared libraries, not -L/usr/ccs/lib.
drwxr-xr-x - gcc