pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

-Xc being removed



When using the Solaris Studio compilers on Solaris, mk/wrapper/transform-sunpro-cc is removing the -Xc option:

# Ignore options that are probably meant for GCC.
-W*             |\
-Xc           ) transform_discard_with_warning ;;
-static         ) transform_to "-Bstatic" ;;

-Xc is a valid Studio option to enable conformance mode, which sets __STDC__ to 1.  This is required to build C99 apps, such as lang/gawk.

Is there any reason that the transform shouldn't be removed?

-Dustin


Home | Main Index | Thread Index | Old Index