When I introduced CCLDFLAGS I think I wanted to simply get rid of the CFLAGS altogether for the link. Any reason why the -O2 or -xstrconst flag would have an impact in linking? This would require more testing for all our supported platforms, but that's more the route I would take.